clebertsuconic commented on code in PR #4183:
URL: https://github.com/apache/activemq-artemis/pull/4183#discussion_r1070031383
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/ServerSessionPacketHandler.java:
##########
@@ -174,6 +184,8 @@ public class ServerSessionPacketHandler implements
ChannelHandler {
private final Pool<NullResponseMessage_V2> poolNullResponseV2;
+ private final Map<Integer, String> producers = new IntObjectHashMap<>();
Review Comment:
This should have been declared as:
private final IntObjectHashMap<String> producers = new IntObjectHashMap<>();
if you keep the Map declaration you will be using boxing every time an
integer is used.
not a big deal though.. I'm amending myself during merge.. just a FYI.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]