Johan Stenberg created ARTEMIS-1918:
---------------------------------------
Summary: 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: Bug
Components: Broker
Affects Versions: 2.6.1
Reporter: Johan Stenberg
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)