jbonofre commented on a change in pull request #522:
URL: https://github.com/apache/activemq/pull/522#discussion_r412702640



##########
File path: 
activemq-client/src/main/java/org/apache/activemq/state/ConnectionState.java
##########
@@ -46,7 +46,7 @@
     private final List<DestinationInfo> tempDestinations = 
Collections.synchronizedList(new ArrayList<DestinationInfo>());
     private final AtomicBoolean shutdown = new AtomicBoolean(false);
     private boolean connectionInterruptProcessingComplete = true;
-    private HashMap<ConsumerId, ConsumerInfo> recoveringPullConsumers;
+    private ConcurrentMap<ConsumerId, ConsumerInfo> recoveringPullConsumers;

Review comment:
       As @coheigea just a `Map` here is better IMHO.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to