db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TORQUE-156) equals() methods in XXXKey classes do not obey contract of Object.equals()
Date Sun, 15 May 2011 11:57:47 GMT
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: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message