activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cshan...@apache.org
Subject activemq git commit: AMQ-6602 - fix java 7 incompatibility
Date Fri, 24 Feb 2017 11:37:44 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 1f53b124b -> 0cf64783d


AMQ-6602 - fix java 7 incompatibility


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

Branch: refs/heads/master
Commit: 0cf64783d2cbae684f6d2d3e6c46801070f7fd77
Parents: 1f53b12
Author: Christopher L. Shannon (cshannon) <christopher.l.shannon@gmail.com>
Authored: Fri Feb 24 06:36:57 2017 -0500
Committer: Christopher L. Shannon (cshannon) <christopher.l.shannon@gmail.com>
Committed: Fri Feb 24 06:36:57 2017 -0500

----------------------------------------------------------------------
 .../java/org/apache/activemq/thread/TaskRunnerFactoryTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/0cf64783/activemq-client/src/test/java/org/apache/activemq/thread/TaskRunnerFactoryTest.java
----------------------------------------------------------------------
diff --git a/activemq-client/src/test/java/org/apache/activemq/thread/TaskRunnerFactoryTest.java
b/activemq-client/src/test/java/org/apache/activemq/thread/TaskRunnerFactoryTest.java
index 273c0ed..026083b 100644
--- a/activemq-client/src/test/java/org/apache/activemq/thread/TaskRunnerFactoryTest.java
+++ b/activemq-client/src/test/java/org/apache/activemq/thread/TaskRunnerFactoryTest.java
@@ -43,7 +43,7 @@ public class TaskRunnerFactoryTest {
         final ExecutorService service = Executors.newFixedThreadPool(10);
         final CountDownLatch latch1 = new CountDownLatch(1);
         final CountDownLatch latch2 = new CountDownLatch(10);
-        final List<TaskRunner> runners = Collections.synchronizedList(new ArrayList<>(10));
+        final List<TaskRunner> runners = Collections.<TaskRunner>synchronizedList(new
ArrayList<TaskRunner>(10));
 
         for (int i = 0; i < 10; i++) {
             service.execute(new Runnable() {


Mime
View raw message