You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2002/03/01 02:37:18 UTC

cvs commit: jakarta-turbine-maven/src/java/org/apache/maven ChangeLog.java

dlr         02/02/28 17:37:18

  Modified:    src/java/org/apache/maven ChangeLog.java
  Log:
  SimpleDateFormat instances are not thread-safe -- changed class
  members to instance members.
  
  Revision  Changes    Path
  1.9       +4 -7      jakarta-turbine-maven/src/java/org/apache/maven/ChangeLog.java
  
  Index: ChangeLog.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/ChangeLog.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -u -r1.8 -r1.9
  --- ChangeLog.java	28 Feb 2002 22:41:02 -0000	1.8
  +++ ChangeLog.java	1 Mar 2002 01:37:18 -0000	1.9
  @@ -75,7 +75,7 @@
    *
    * @author <a href="mailto:jeff.martin@synamic.co.uk">Jeff Martin</a>
    * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
  - * @version $Id: ChangeLog.java,v 1.8 2002/02/28 22:41:02 jvanzyl Exp $
  + * @version $Id: ChangeLog.java,v 1.9 2002/03/01 01:37:18 dlr Exp $
    */
   public class ChangeLog
       extends ProjectExecutor
  @@ -129,20 +129,17 @@
       /**
        * input format for dates read in from cvs log
        */
  -    private final static SimpleDateFormat inputDate =
  -        new SimpleDateFormat("yyyy/MM/dd");
  +    private SimpleDateFormat inputDate = new SimpleDateFormat("yyyy/MM/dd");
   
       /**
        * output format for dates writtn to xml file
        */
  -    private final static SimpleDateFormat outputDate =
  -        new SimpleDateFormat("yyyy-MM-dd");
  +    private SimpleDateFormat outputDate = new SimpleDateFormat("yyyy-MM-dd");
   
       /**
        * output format for times writtn to xml file
        */
  -    private final static SimpleDateFormat outputTime =
  -        new SimpleDateFormat("hh:mm");
  +    private SimpleDateFormat outputTime = new SimpleDateFormat("hh:mm");
   
       /**
        * Set the numbers of days worth of log entries to process.
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>