mirror of https://github.com/apache/activemq.git
Add mew method from Java 1.7 to prevent compiler errors when only 1.7 is installed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cb895f01b7
commit
7b231fe8d9
|
@ -18,18 +18,18 @@ package org.apache.activemq.broker.ft;
|
|||
|
||||
import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.URI;
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.SQLFeatureNotSupportedException;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.apache.activemq.broker.BrokerService;
|
||||
import org.apache.activemq.broker.TransportConnector;
|
||||
import org.apache.activemq.command.BrokerInfo;
|
||||
import org.apache.activemq.store.jdbc.DataSourceSupport;
|
||||
import org.apache.activemq.store.jdbc.JDBCPersistenceAdapter;
|
||||
import org.apache.activemq.transport.TransportAcceptListener;
|
||||
import org.apache.activemq.transport.TransportServer;
|
||||
import org.apache.derby.jdbc.EmbeddedDataSource;
|
||||
|
||||
public class JDBCQueueMasterSlaveTest extends QueueMasterSlaveTest {
|
||||
|
@ -42,7 +42,7 @@ public class JDBCQueueMasterSlaveTest extends QueueMasterSlaveTest {
|
|||
sharedDs = new SyncDataSource((EmbeddedDataSource)new DataSourceSupport().getDataSource());
|
||||
super.setUp();
|
||||
}
|
||||
|
||||
|
||||
protected void createMaster() throws Exception {
|
||||
master = new BrokerService();
|
||||
master.setBrokerName("master");
|
||||
|
@ -155,5 +155,9 @@ public class JDBCQueueMasterSlaveTest extends QueueMasterSlaveTest {
|
|||
EmbeddedDataSource getDelegate() {
|
||||
return delegate;
|
||||
}
|
||||
|
||||
public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue