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 02:40:52 UTC
[DO NOT REPLY: Bug 3167] New:
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.15684 Sun Aug 19 17:40:52 2001
***************
*** 0 ****
--- 1,26 ----
+ +============================================================================+
+ | 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 |
+ +----------------------------------------------------------------------------+
+ | Assigned To: turbine-dev@jakarta.apache.org |
+ | Reported By: william@live.com.au |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ The following code:
+
+ import org.apache.turbine.om.NumberKey;
+
+ ...
+
+ 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.)
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org