You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jm...@apache.org on 2001/08/20 05:49:49 UTC
cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/om DateKey.java NumberKey.java StringKey.java
jmcnally 01/08/19 20:49:49
Modified: src/java/org/apache/turbine/om DateKey.java NumberKey.java
StringKey.java
Log:
clarified javadoc that two ObjectKeys with null internal values are not equal.
Revision Changes Path
1.2 +2 -1 jakarta-turbine-2/src/java/org/apache/turbine/om/DateKey.java
Index: DateKey.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/om/DateKey.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DateKey.java 2001/08/16 05:08:39 1.1
+++ DateKey.java 2001/08/20 03:49:49 1.2
@@ -129,7 +129,8 @@
/**
* keyObj is equal to this DateKey if keyObj is a DateKey or String
- * that contains the same information this key contains.
+ * that contains the same information this key contains. Two ObjectKeys
+ * that both contain null values are not considered equal.
*/
public boolean equals(Object keyObj)
{
1.2 +2 -1 jakarta-turbine-2/src/java/org/apache/turbine/om/NumberKey.java
Index: NumberKey.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/om/NumberKey.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- NumberKey.java 2001/08/16 05:08:39 1.1
+++ NumberKey.java 2001/08/20 03:49:49 1.2
@@ -151,7 +151,8 @@
/**
* keyObj is equal to this NumberKey if keyObj is a NumberKey or String
- * that contains the same information this key contains.
+ * that contains the same information this key contains. Two ObjectKeys
+ * that both contain null values are not considered equal.
*/
public boolean equals(Object keyObj)
{
1.2 +2 -1 jakarta-turbine-2/src/java/org/apache/turbine/om/StringKey.java
Index: StringKey.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/om/StringKey.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- StringKey.java 2001/08/16 05:08:40 1.1
+++ StringKey.java 2001/08/20 03:49:49 1.2
@@ -119,7 +119,8 @@
/**
* keyObj is equal to this StringKey if keyObj is a StringKey or String
- * that contains the same information this key contains.
+ * that contains the same information this key contains. Two ObjectKeys
+ * that both contain null values are not considered equal.
*/
public boolean equals(Object keyObj)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org