[
https://issues.apache.org/jira/browse/AMQ-8462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481381#comment-17481381
]
Christopher L. Shannon commented on AMQ-8462:
---------------------------------------------
[~mattrpav] - nice catch on that duplicate, it appears it has been like that
for 14 years according to git blame. Impressive no one noticed until now.
> Remove double call to listConnectionStates during connection close
> ------------------------------------------------------------------
>
> Key: AMQ-8462
> URL: https://issues.apache.org/jira/browse/AMQ-8462
> Project: ActiveMQ
> Issue Type: Improvement
> Reporter: Matt Pavlovich
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.17.0, 5.16.4
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> TransportConnection is calling listConnectionStates twice
> {noformat}
> List<TransportConnectionState> connectionStates =
> listConnectionStates();
> connectionStates = listConnectionStates();
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)