activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject git commit: https://issues.apache.org/jira/browse/AMQ-4952 - remove scala ref from test
Date Tue, 14 Jan 2014 22:17:48 GMT
Updated Branches:
  refs/heads/trunk 5c9dcee7e -> 08f21ed71


https://issues.apache.org/jira/browse/AMQ-4952 - remove scala ref from test


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

Branch: refs/heads/trunk
Commit: 08f21ed71d44a819e969174596f3118ea318627c
Parents: 5c9dcee
Author: gtully <gary.tully@gmail.com>
Authored: Tue Jan 14 22:17:19 2014 +0000
Committer: gtully <gary.tully@gmail.com>
Committed: Tue Jan 14 22:17:19 2014 +0000

----------------------------------------------------------------------
 .../src/test/java/org/apache/activemq/bugs/AMQ4952Test.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/08f21ed7/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java
index 18cf12e..4e88e82 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java
@@ -24,10 +24,10 @@ import org.slf4j.LoggerFactory;
 import javax.jms.*;
 import javax.jms.Connection;
 import javax.sql.DataSource;
-import scala.actors.threadpool.Arrays;
 import java.net.URI;
 import java.sql.*;
 import java.util.ArrayList;
+import java.util.Arrays;
 import java.util.HashMap;
 import java.util.List;
 import java.util.concurrent.*;
@@ -296,7 +296,7 @@ public class AMQ4952Test extends TestCase {
             if (networkProps != null) {
                 IntrospectionSupport.setProperties(nc, networkProps);
             }
-            nc.setStaticallyIncludedDestinations(Arrays.asList(new ActiveMQQueue[]{QUEUE_NAME}));
+            nc.setStaticallyIncludedDestinations(Arrays.<ActiveMQDestination>asList(new
ActiveMQQueue[]{QUEUE_NAME}));
         }
 
         //Persistence adapter


Mime
View raw message