From 8b064889c68d092f7b0fd425d2b1f65f4da37e2b Mon Sep 17 00:00:00 2001 From: gtully Date: Tue, 4 Apr 2017 10:57:57 +0100 Subject: [PATCH] [AMQ-6643] final modifier for test in the right place --- .../activemq/broker/virtual/VirtualTopicWildcardTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/virtual/VirtualTopicWildcardTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/virtual/VirtualTopicWildcardTest.java index d34fc151f4..c3978b73ea 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/virtual/VirtualTopicWildcardTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/virtual/VirtualTopicWildcardTest.java @@ -70,9 +70,9 @@ public class VirtualTopicWildcardTest { @Test public void testWildcardAndSimpleConsumerShareMessages() throws Exception { - final ConsumerBean messageList1 = new ConsumerBean("1:"); - final ConsumerBean messageList2 = new ConsumerBean("2:"); - final ConsumerBean messageList3 = new ConsumerBean("3:"); + ConsumerBean messageList1 = new ConsumerBean("1:"); + ConsumerBean messageList2 = new ConsumerBean("2:"); + ConsumerBean messageList3 = new ConsumerBean("3:"); messageList1.setVerbose(true); messageList2.setVerbose(true); @@ -120,7 +120,7 @@ public class VirtualTopicWildcardTest { return cf.createConnection(); } - protected void assertMessagesArrived(ConsumerBean messageList1, ConsumerBean messageList2) { + protected void assertMessagesArrived(final ConsumerBean messageList1, final ConsumerBean messageList2) { try { assertTrue("expected", Wait.waitFor(new Wait.Condition() { @Override