[ 
https://issues.apache.org/jira/browse/QPID-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Kennedy updated QPID-3095:
---------------------------------

    Summary: AMQBrokerDetails equals() and hashCode() methods do not adhere to 
contract  (was: AMQBrokerDetails equals() and hashCode() methods do adhere to 
contract)

> AMQBrokerDetails equals() and hashCode() methods do not adhere to contract
> --------------------------------------------------------------------------
>
>                 Key: QPID-3095
>                 URL: https://issues.apache.org/jira/browse/QPID-3095
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.9
>            Reporter: Andrew Kennedy
>            Priority: Minor
>
> The AMQBrokerDetails object has an equals and a hashCode implementation that 
> are not compatible. Equality uses case-insensitive comparisons and also 
> compares SSL status, whereas the hashCode is calculated using the provided 
> values and does not include SSL details. The contract for hashCode is given 
> here:
> http://download.oracle.com/javase/6/docs/api/java/lang/Object.html#hashCode%28%29

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to