dlr 01/08/13 16:04:38
Modified: src/java/org/apache/torque/om DateKey.java
Log:
Porting fedor's patch from the tip of the 2.1 branch:
"fixing DateKey's inconsistency with Date WRT toString()"
Revision Changes Path
1.3 +1 -1
jakarta-turbine-torque/src/java/org/apache/torque/om/DateKey.java
Index: DateKey.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/om/DateKey.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -u -r1.2 -r1.3
--- DateKey.java 2001/08/10 12:23:02 1.2
+++ DateKey.java 2001/08/13 23:04:38 1.3
@@ -156,7 +156,7 @@
{
if ( key != null )
{
- return String.valueOf(((Date)key).getTime());
+ return key.toString();
}
return "";
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]