You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by bu...@apache.org on 2001/08/20 06:02:53 UTC
[DO NOT REPLY: Bug 3167]
NumberKey.equals() returns false for two nulls
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3167
*** shadow/3167 Sun Aug 19 17:40:52 2001
--- shadow/3167.tmp.15887 Sun Aug 19 21:02:53 2001
***************
*** 2,9 ****
| NumberKey.equals() returns false for two nulls |
+----------------------------------------------------------------------------+
| Bug #: 3167 Product: Turbine |
! | Status: NEW Version: 2.1 final |
! | Resolution: Platform: Other |
| Severity: Normal OS/Version: Other |
| Priority: Other Component: Torque |
+----------------------------------------------------------------------------+
--- 2,9 ----
| NumberKey.equals() returns false for two nulls |
+----------------------------------------------------------------------------+
| Bug #: 3167 Product: Turbine |
! | Status: RESOLVED Version: 2.1 final |
! | Resolution: INVALID Platform: Other |
| Severity: Normal OS/Version: Other |
| Priority: Other Component: Torque |
+----------------------------------------------------------------------------+
***************
*** 23,26 ****
new NumberKey(null).equals(new NumberKey(null));
evaluates to "false", when it should evaluate to "true". (This
! problem is also present in the 3.0.x branch.)
--- 23,31 ----
new NumberKey(null).equals(new NumberKey(null));
evaluates to "false", when it should evaluate to "true". (This
! problem is also present in the 3.0.x branch.)
!
! ------- Additional Comments From jmcnally@collab.net 2001-08-19 21:02 -------
! The behavior is correct and the javadoc has been updated to note that NumberKeys
! with null values are not equal. The ObjectKeys are used to give unique keys for
! objects and only have meaning if their internal values are not null.
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org