You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fox (JIRA)" <ji...@apache.org> on 2011/05/15 13:57:47 UTC
[jira] [Assigned] (TORQUE-156) equals() methods in XXXKey classes
do not obey contract of Object.equals()
[ https://issues.apache.org/jira/browse/TORQUE-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Fox reassigned TORQUE-156:
---------------------------------
Assignee: Thomas Fox
> 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
> Assignee: 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