[
https://issues.apache.org/jira/browse/AMQ-7376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033144#comment-17033144
]
ASF subversion and git services commented on AMQ-7376:
------------------------------------------------------
Commit 6417d62f60e4a3522f7369d4c9df574c012fcf45 in activemq's branch
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=6417d62 ]
Merge pull request #428 from coheigea/AMQ-7376
AMQ-7376 - Use correct type for collections retrieval
> Use correct type for collections retrieval
> ------------------------------------------
>
> Key: AMQ-7376
> URL: https://issues.apache.org/jira/browse/AMQ-7376
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Reporter: Colm O hEigeartaigh
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.16.0, 5.15.12
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> There are a few instances where we are using the wrong (object) type with
> collections:
> * Queue - browserDispatches.remove(sub) will always fail as the list holds
> different objects
> * KahaDbStore - storeCache.get(convert(activeMQDestination)) will always
> fail as the destination needs to be converted to a key first
> * MQTTProtocolConverter - activeMQDestinationMap.get(command.topicName()) -
> should be using toString() here instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)