jmcnally 02/01/31 08:24:30
Modified: src/java/org/apache/torque/om ObjectKey.java
Log:
Handles DateKeys and ObjectKeys with null key properties. -jdm
DESCRIPTION:
The following patch is pretty simple and is related to the toString() method in
ObjectKey and ComboKey, particulary when the ComboKey contain a DateKey.
Edgar Gonzalez
Revision Changes Path
1.3 +1 -1
jakarta-turbine-torque/src/java/org/apache/torque/om/ObjectKey.java
Index: ObjectKey.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/om/ObjectKey.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ObjectKey.java 10 Aug 2001 12:23:03 -0000 1.2
+++ ObjectKey.java 31 Jan 2002 16:24:30 -0000 1.3
@@ -108,7 +108,7 @@
*/
public void appendTo(StringBuffer sb)
{
- sb.append(key.toString());
+ sb.append(this.toString());
}
/**
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>