equals() methods in XXXKey classes do not obey contract of Object.equals()
--------------------------------------------------------------------------

                 Key: TORQUE-156
                 URL: https://issues.apache.org/jira/browse/TORQUE-156
             Project: Torque
          Issue Type: Bug
          Components: Runtime
            Reporter: Thomas Fox


The contract for Object.equals() says that equals() must be symmetric, i.e. id 
x.equals(y) then y.equals(x). 
This is not the case. as e.g. new StringKey("xxx").equals("xxx") but no 
"xxx".equals(new StringKey("xxx"))

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to