activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject activemq git commit: [AMQ-6643] final modifier for test in the right place
Date Tue, 04 Apr 2017 09:58:48 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 2a2cb3997 -> 8b064889c


[AMQ-6643] final modifier for test in the right place


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/8b064889
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/8b064889
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/8b064889

Branch: refs/heads/master
Commit: 8b064889c68d092f7b0fd425d2b1f65f4da37e2b
Parents: 2a2cb39
Author: gtully <gary.tully@gmail.com>
Authored: Tue Apr 4 10:57:57 2017 +0100
Committer: gtully <gary.tully@gmail.com>
Committed: Tue Apr 4 10:57:57 2017 +0100

----------------------------------------------------------------------
 .../activemq/broker/virtual/VirtualTopicWildcardTest.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/8b064889/activemq-unit-tests/src/test/java/org/apache/activemq/broker/virtual/VirtualTopicWildcardTest.java
----------------------------------------------------------------------
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 d34fc15..c3978b7 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


Mime
View raw message