velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sid...@apache.org
Subject cvs commit: jakarta-velocity-tools/tools/src/java/org/apache/velocity/tools/tools DateTool.java
Date Tue, 07 May 2002 08:58:36 GMT
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:   <mailto:velocity-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-dev-help@jakarta.apache.org>


Mime
View raw message