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:38:02 GMT
Repository: activemq
Updated Branches:
  refs/heads/activemq-5.14.x 789f82b34 -> e57515709


AMQ-6602 - fix java 7 incompatibility

(cherry picked from commit 0cf64783d2cbae684f6d2d3e6c46801070f7fd77)


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

Branch: refs/heads/activemq-5.14.x
Commit: e5751570936e335a59dfa7f124623f4b257be03d
Parents: 789f82b
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:37:55 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/e5751570/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