From 494c85d624b306f27ca7e5de690f4ec6074a9d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 25 Sep 2016 21:13:29 +0300 Subject: [PATCH] Java 1.7 build fix --- .../activemq/artemis/core/server/impl/ActiveMQServerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java index b72d8f6035..5323d986ae 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java @@ -36,6 +36,7 @@ import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; @@ -312,7 +313,7 @@ public class ActiveMQServerImpl implements ActiveMQServer { private final List externalComponents = new ArrayList<>(); - private final Map connectedClientIds = new ConcurrentHashMap(); + private final ConcurrentMap connectedClientIds = new ConcurrentHashMap(); // Constructors // ---------------------------------------------------------------------------------