[
https://issues.apache.org/jira/browse/AMQ-7376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033143#comment-17033143
]
ASF subversion and git services commented on AMQ-7376:
------------------------------------------------------
Commit 675fb7bcae3a84c9fcbb1e35506fd688066fc59e in activemq's branch
refs/heads/master from Colm O hEigeartaigh
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=675fb7b ]
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)