You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by si...@apache.org on 2002/05/07 10:58:36 UTC
cvs commit: jakarta-velocity-tools/tools/src/java/org/apache/velocity/tools/tools DateTool.java
sidler 02/05/07 01:58:36
Modified: tools/src/java/org/apache/velocity/tools/tools DateTool.java
Log:
Fixed constructor of DateTool. (Thanks to claude@savoirweb.com for
the bug report)
Revision Changes Path
1.3 +2 -2 jakarta-velocity-tools/tools/src/java/org/apache/velocity/tools/tools/DateTool.java
Index: DateTool.java
===================================================================
RCS file: /home/cvs/jakarta-velocity-tools/tools/src/java/org/apache/velocity/tools/tools/DateTool.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DateTool.java 15 Apr 2002 18:30:28 -0000 1.2
+++ DateTool.java 7 May 2002 08:58:35 -0000 1.3
@@ -77,7 +77,7 @@
*
* @author <a href="mailto:sidler@teamup.com">Gabriel Sidler</a>
* @author <a href="mailto:nathan@esha.com">Nathan Bubna</a>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class DateTool implements ThreadSafeViewTool
@@ -99,7 +99,7 @@
*/
public static Date getDate()
{
- return getDate();
+ return new Date();
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>