From d0223af640ec380d83200690cf9adc9da48e7919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 6 Dec 2015 12:01:05 +0200 Subject: [PATCH] Remove unnecessary semicolons --- .../java/org/apache/activemq/ActiveMQConnectionFactory.java | 1 - .../src/test/java/org/apache/activemq/JMSConsumerTest.java | 1 - .../src/test/java/org/apache/activemq/JmsQueueBrowserTest.java | 2 -- .../activemq/JmsSendReceiveWithMessageExpirationTest.java | 2 -- .../src/test/java/org/apache/activemq/SpringTestSupport.java | 2 -- .../src/test/java/org/apache/activemq/TestSupport.java | 2 -- .../test/java/org/apache/activemq/broker/BrokerBenchmark.java | 2 -- .../test/java/org/apache/activemq/broker/BrokerTestSupport.java | 2 -- .../java/org/apache/activemq/broker/MarshallingBrokerTest.java | 2 -- .../activemq/broker/policy/MessageListenerDeadLetterTest.java | 2 -- .../activemq/broker/region/QueueDuplicatesFromStoreTest.java | 2 -- .../src/test/java/org/apache/activemq/bugs/AMQ1936Test.java | 1 - .../src/test/java/org/apache/activemq/bugs/AMQ3014Test.java | 1 - .../src/test/java/org/apache/activemq/bugs/AMQ3405Test.java | 2 -- .../src/test/java/org/apache/activemq/bugs/AMQ4083Test.java | 2 -- .../test/java/org/apache/activemq/bugs/AMQ4485LowLimitTest.java | 1 - .../test/java/org/apache/activemq/joramtests/ActiveMQAdmin.java | 1 - .../java/org/apache/activemq/network/NetworkFailoverTest.java | 1 - .../test/java/org/apache/activemq/perf/NetworkedSyncTest.java | 1 - .../activemq/store/kahadb/KahaDBStoreRecoveryBrokerTest.java | 1 - .../java/org/apache/activemq/store/kahadb/plist/PListTest.java | 2 -- .../apache/activemq/transport/tcp/ServerSocketTstFactory.java | 2 -- .../org/apache/activemq/transport/tcp/SocketTstFactory.java | 2 -- .../usecases/ConcurrentProducerDurableConsumerTest.java | 1 - .../activemq/usecases/ConcurrentProducerQueueConsumerTest.java | 1 - .../java/org/apache/activemq/usecases/ExpiredMessagesTest.java | 2 -- .../org/apache/activemq/usecases/JdbcDurableSubDupTest.java | 1 - .../TestBrokerConnectionDuplexExcludedDestinations.java | 1 - .../src/test/java/org/apache/activemq/util/LinkedNodeTest.java | 2 -- 29 files changed, 45 deletions(-) diff --git a/tests/activemq5-unit-tests/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java b/tests/activemq5-unit-tests/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java index 02e5c622fd..da9e91a732 100644 --- a/tests/activemq5-unit-tests/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java +++ b/tests/activemq5-unit-tests/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java @@ -209,7 +209,6 @@ public class ActiveMQConnectionFactory extends JNDIBaseStorable implements Conne params.clear(); this.vmBrokerUri = URISupport.createRemainingURI(uri, params); - ; } } catch (URISyntaxException e) { diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JMSConsumerTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JMSConsumerTest.java index bb00a2b9cd..6bf47f6324 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JMSConsumerTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JMSConsumerTest.java @@ -168,7 +168,6 @@ public class JMSConsumerTest extends JmsTestSupport { } } } - ; final ExecutorService executor = Executors.newCachedThreadPool(); consumer.setMessageListener(new MessageListener() { diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JmsQueueBrowserTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JmsQueueBrowserTest.java index fdba2e3c58..12e7827100 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JmsQueueBrowserTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JmsQueueBrowserTest.java @@ -121,7 +121,6 @@ public class JmsQueueBrowserTest extends JmsTestSupport { for (int i = 0; i < 10; i++) { outbound[i] = session.createTextMessage(i + " Message"); } - ; // lets consume any outstanding messages from previous test runs while (consumer.receive(1000) != null) { @@ -178,7 +177,6 @@ public class JmsQueueBrowserTest extends JmsTestSupport { for (int i = 0; i < 10; i++) { outbound[i] = session.createTextMessage(i + " Message"); } - ; // lets consume any outstanding messages from previous test runs while (consumer.receive(1000) != null) { diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JmsSendReceiveWithMessageExpirationTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JmsSendReceiveWithMessageExpirationTest.java index 5932c0683b..6e4e214dbc 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JmsSendReceiveWithMessageExpirationTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/JmsSendReceiveWithMessageExpirationTest.java @@ -154,7 +154,6 @@ public class JmsSendReceiveWithMessageExpirationTest extends TestSupport { } received.acknowledge(); } - ; assertEquals("got all (normal plus one with ttl) messages", messageCount + 1, messages.size()); @@ -162,7 +161,6 @@ public class JmsSendReceiveWithMessageExpirationTest extends TestSupport { while ((received = dlqConsumer.receive(1000)) != null) { dlqMessages.add(received); } - ; assertEquals("got dlq messages", data.length - 1, dlqMessages.size()); diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/SpringTestSupport.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/SpringTestSupport.java index 3418bf996c..bea4d4ec14 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/SpringTestSupport.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/SpringTestSupport.java @@ -39,8 +39,6 @@ public abstract class SpringTestSupport extends TestCase { protected abstract AbstractApplicationContext createApplicationContext(); - ; - @Override protected void tearDown() throws Exception { if (context != null) { diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/TestSupport.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/TestSupport.java index 247047dcb4..9ab35dc620 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/TestSupport.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/TestSupport.java @@ -172,8 +172,6 @@ public abstract class TestSupport extends CombinationTestSupport { public static enum PersistenceAdapterChoice {LevelDB, KahaDB, AMQ, JDBC, MEM} - ; - public PersistenceAdapter setDefaultPersistenceAdapter(BrokerService broker) throws IOException { return setPersistenceAdapter(broker, defaultPersistenceAdapter); } diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/BrokerBenchmark.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/BrokerBenchmark.java index b2f32045a6..ddb46c89e8 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/BrokerBenchmark.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/BrokerBenchmark.java @@ -175,8 +175,6 @@ public class BrokerBenchmark extends BrokerTestSupport { producersFinished.release(); } } - - ; }.start(); } diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java index 4ded65e410..e79d51163a 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java @@ -351,8 +351,6 @@ public class BrokerTestSupport extends CombinationTestSupport { } } - ; - protected void assertNoMessagesLeft(StubConnection connection) throws InterruptedException { long wait = FAST_NO_MESSAGE_LEFT_ASSERT ? 0 : maxWait; while (true) { diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/MarshallingBrokerTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/MarshallingBrokerTest.java index 36c5e717ae..0733e39d10 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/MarshallingBrokerTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/MarshallingBrokerTest.java @@ -62,8 +62,6 @@ public class MarshallingBrokerTest extends BrokerTest { protected void dispatch(Command command) throws InterruptedException, IOException { super.dispatch(wireFormat.unmarshal(wireFormat.marshal(command))); } - - ; }; } diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java index cdbd6fb452..312f62e589 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java @@ -96,8 +96,6 @@ public class MessageListenerDeadLetterTest extends DeadLetterTestSupport { super.tearDown(); } - ; - @Override protected ActiveMQConnectionFactory createConnectionFactory() throws Exception { ActiveMQConnectionFactory answer = super.createConnectionFactory(); diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/region/QueueDuplicatesFromStoreTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/region/QueueDuplicatesFromStoreTest.java index c85a678a94..4daa2f5bfa 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/region/QueueDuplicatesFromStoreTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/broker/region/QueueDuplicatesFromStoreTest.java @@ -164,8 +164,6 @@ public class QueueDuplicatesFromStoreTest extends TestCase { public void destroy() { } - ; - @Override public void gc() { } diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ1936Test.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ1936Test.java index 345fb69e82..dac6bf45eb 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ1936Test.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ1936Test.java @@ -75,7 +75,6 @@ public class AMQ1936Test extends TestCase { broker.setDeleteAllMessagesOnStartup(true); broker.start(); connectionFactory = new ActiveMQConnectionFactory("vm://test"); - ; } @Override diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ3014Test.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ3014Test.java index a67ef33fb7..1e3c7371b3 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ3014Test.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ3014Test.java @@ -195,7 +195,6 @@ public class AMQ3014Test { } Assert.assertFalse("Timed out waiting for bridge to form.", remoteBrokerInfos.isEmpty()); - ; Assert.assertNotNull("Local broker ID is null.", remoteBrokerInfos.get(0).getBrokerId()); } } diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ3405Test.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ3405Test.java index 39cf640637..5a58dd3228 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ3405Test.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ3405Test.java @@ -192,8 +192,6 @@ public class AMQ3405Test extends TestSupport { } } - ; - @Override protected ActiveMQConnectionFactory createConnectionFactory() throws Exception { ActiveMQConnectionFactory answer = super.createConnectionFactory(); diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4083Test.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4083Test.java index 1e4d0625f0..882105bc84 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4083Test.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4083Test.java @@ -493,7 +493,6 @@ public class AMQ4083Test { } received.acknowledge(); } - ; assertEquals("got messages", messageCount + 1, messages.size()); @@ -501,7 +500,6 @@ public class AMQ4083Test { while ((received = dlqConsumer.receive(1000)) != null) { dlqMessages.add(received); } - ; assertEquals("got dlq messages", data.length - 1, dlqMessages.size()); diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4485LowLimitTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4485LowLimitTest.java index a034b37ee6..4c48c2c49f 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4485LowLimitTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4485LowLimitTest.java @@ -246,7 +246,6 @@ public class AMQ4485LowLimitTest extends JmsMultipleBrokersTestSupport { if (tally.expected.size() == 1) { startConsumer(tally.brokerName, tally.destination); } - ; return false; } LOG.info("got tally on " + tally.brokerName); diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/joramtests/ActiveMQAdmin.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/joramtests/ActiveMQAdmin.java index 3befdb619d..b3383f30f1 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/joramtests/ActiveMQAdmin.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/joramtests/ActiveMQAdmin.java @@ -45,7 +45,6 @@ public class ActiveMQAdmin implements Admin { final Hashtable env = new Hashtable<>(); env.put("java.naming.factory.initial", "org.eclipse.jetty.jndi.InitialContextFactory"); env.put("java.naming.factory.url.pkgs", "org.eclipse.jetty.jndi"); - ; context = new InitialContext(env); } catch (NamingException e) { diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/network/NetworkFailoverTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/network/NetworkFailoverTest.java index 5cb9a12cf8..5e24b5e30a 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/network/NetworkFailoverTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/network/NetworkFailoverTest.java @@ -92,7 +92,6 @@ public class NetworkFailoverTest extends TestCase { catch (JMSException e) { e.printStackTrace(); } - ; } catch (Exception e) { LOG.warn("*** Responder listener caught exception: ", e); diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/perf/NetworkedSyncTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/perf/NetworkedSyncTest.java index 4cff30caae..215456bf7d 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/perf/NetworkedSyncTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/perf/NetworkedSyncTest.java @@ -253,7 +253,6 @@ class Producer implements Runnable { class Consumer implements Runnable { private static final Logger LOG = LoggerFactory.getLogger(Consumer.class); - ; /** * connect to broker and receive messages diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/store/kahadb/KahaDBStoreRecoveryBrokerTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/store/kahadb/KahaDBStoreRecoveryBrokerTest.java index 2163e5cfd4..bddfde8c47 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/store/kahadb/KahaDBStoreRecoveryBrokerTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/store/kahadb/KahaDBStoreRecoveryBrokerTest.java @@ -46,7 +46,6 @@ public class KahaDBStoreRecoveryBrokerTest extends RecoveryBrokerTest { enum CorruptionType {None, FailToLoad, LoadInvalid, LoadCorrupt, LoadOrderIndex0} - ; public CorruptionType failTest = CorruptionType.None; @Override diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/store/kahadb/plist/PListTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/store/kahadb/plist/PListTest.java index 7cff6448b8..73adb52643 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/store/kahadb/plist/PListTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/store/kahadb/plist/PListTest.java @@ -232,7 +232,6 @@ public class PListTest { } } } - ; class B implements Runnable { @@ -259,7 +258,6 @@ public class PListTest { } } } - ; executor.execute(new A()); executor.execute(new A()); diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/tcp/ServerSocketTstFactory.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/tcp/ServerSocketTstFactory.java index af3dbb71b8..6d68166d65 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/tcp/ServerSocketTstFactory.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/tcp/ServerSocketTstFactory.java @@ -52,8 +52,6 @@ public class ServerSocketTstFactory extends ServerSocketFactory { } } - ; - private final Random rnd; public ServerSocketTstFactory() { diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/tcp/SocketTstFactory.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/tcp/SocketTstFactory.java index 34158cb101..f35fe69ffa 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/tcp/SocketTstFactory.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/tcp/SocketTstFactory.java @@ -139,8 +139,6 @@ public class SocketTstFactory extends SocketFactory { } } - ; - private final Random rnd; public SocketTstFactory() { diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ConcurrentProducerDurableConsumerTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ConcurrentProducerDurableConsumerTest.java index e470949530..75922ec6ff 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ConcurrentProducerDurableConsumerTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ConcurrentProducerDurableConsumerTest.java @@ -264,7 +264,6 @@ public class ConcurrentProducerDurableConsumerTest extends TestSupport { LOG.info("Signalled add consumer"); } } - ; if (count % 5000 == 0) { LOG.info("Sent " + count + ", singleSendMax:" + max); } diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ConcurrentProducerQueueConsumerTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ConcurrentProducerQueueConsumerTest.java index 14ac31f49c..dd126d86f0 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ConcurrentProducerQueueConsumerTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ConcurrentProducerQueueConsumerTest.java @@ -249,7 +249,6 @@ public class ConcurrentProducerQueueConsumerTest extends TestSupport { LOG.info("Signalled add consumer"); } } - ; if (count % 5000 == 0) { LOG.info("Sent " + count + ", singleSendMax:" + max); } diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java index d1f1358180..8e55abaa42 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java @@ -214,8 +214,6 @@ public class ExpiredMessagesTest extends CombinationTestSupport { } - ; - private MessageConsumer createDlqConsumer(Connection connection) throws Exception { return connection.createSession(false, Session.AUTO_ACKNOWLEDGE).createConsumer(dlqDestination); } diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/JdbcDurableSubDupTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/JdbcDurableSubDupTest.java index 88adefe821..7dea0df528 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/JdbcDurableSubDupTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/JdbcDurableSubDupTest.java @@ -198,7 +198,6 @@ public class JdbcDurableSubDupTest { } catch (InterruptedException e) { } - ; try { TextMessage m = (TextMessage) message; diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/TestBrokerConnectionDuplexExcludedDestinations.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/TestBrokerConnectionDuplexExcludedDestinations.java index 53fda1a19a..b0f4f2a0ad 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/TestBrokerConnectionDuplexExcludedDestinations.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/TestBrokerConnectionDuplexExcludedDestinations.java @@ -163,7 +163,6 @@ public class TestBrokerConnectionDuplexExcludedDestinations extends TestCase { // we should be able to receive excluded queue message on Hub MessageConsumer excludedConsumerHub = hubSession.createConsumer(excludedQueueHub); msg = excludedConsumerHub.receive(200); - ; assertEquals(excludedMsgHub, msg); hubProducer.close(); diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/util/LinkedNodeTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/util/LinkedNodeTest.java index becd42a716..4243375a41 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/util/LinkedNodeTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/util/LinkedNodeTest.java @@ -31,8 +31,6 @@ public class LinkedNodeTest extends TestCase { this.v = v; } - ; - @Override public String toString() { return "" + v;