You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2018/06/19 04:17:00 UTC
[jira] [Closed] (ARTEMIS-1918) RemotingConnectionImpl contains
unused private clientID field used by toString()
[ https://issues.apache.org/jira/browse/ARTEMIS-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
clebert suconic closed ARTEMIS-1918.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.7.0
> RemotingConnectionImpl contains unused private clientID field used by toString()
> --------------------------------------------------------------------------------
>
> Key: ARTEMIS-1918
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1918
> Project: ActiveMQ Artemis
> Issue Type: Task
> Components: Broker
> Affects Versions: 2.6.1
> Reporter: Johan Stenberg
> Priority: Minor
> Fix For: 2.7.0
>
>
> The [RemotingConnectionImpl|https://github.com/apache/activemq-artemis/blob/master/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/RemotingConnectionImpl.java#L79] declares a private field clientID that is never set but used by the toString() method. The base class [AbstractRemotingConnection|https://github.com/apache/activemq-artemis/blob/master/artemis-core-client/src/main/java/org/apache/activemq/artemis/spi/core/protocol/AbstractRemotingConnection.java#L47] already declares a private field clientId with appropriate setters. Setting the cliendID value via this setter on the RemotingConnectionImpl is not reflected by it's string representation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)