You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2016/11/21 16:19:59 UTC
[jira] [Created] (QPID-7537) Improve implementations of equal
methods in various classes to be able to account for sub-classes
Alex Rudyy created QPID-7537:
--------------------------------
Summary: 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
Fix For: qpid-java-6.2
The equals method of the following classes break symmetry if the passed in object is a subclass. Check whether this is acceptable. Otherwise 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.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org