You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2017/03/08 16:06:38 UTC
[jira] [Updated] (QPID-7537) Improve implementations of equal
methods in various classes to be able to account for sub-classes
[ https://issues.apache.org/jira/browse/QPID-7537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Wall updated QPID-7537:
-----------------------------
Fix Version/s: qpid-java-client-0-x-6.3.0
> Improve implementations of equal methods in various classes to be able to account for sub-classes
> -------------------------------------------------------------------------------------------------
>
> Key: QPID-7537
> URL: https://issues.apache.org/jira/browse/QPID-7537
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker, Java Client, Java Common, Java Performance Tests
> Reporter: Alex Rudyy
> Assignee: Keith Wall
> Fix For: qpid-java-client-0-x-6.3.0, qpid-java-broker-7.0.0
>
>
> The equals method of the following classes break symmetry if the passed in object is a subclass. Use this.getClass() instead of instanceof.
> * BindingImpl
> * QpidSslRMIServerSocketFactory
> * HeadersBinding
> * AMQPProtocolVersionWrapper
> * UsernamePrincipal
> * GroupPrincipal
> * Action
> * Rule
> * InetNetwork
> * AMQBrokerDetails
> * AMQDestination
> * AMQQueue
> * AMQTopic
> * XidImpl
> * FieldTable
> * ProtocolInitiation
> * QpidRAConnectionRequestInfo
> * QpidRAManagedConnectionFactory
> * QpidRAMessage
> * QpidResourceAdapter
> * ListPropertyValue
> * NumericGeneratedPropertySupport
> * RangePropertyValue
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org