commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/time DateUtils.java
Date Mon, 18 Aug 2003 21:52:39 GMT
ggregory    2003/08/18 14:52:39

  Modified:    lang/src/java/org/apache/commons/lang/time DateUtils.java
  Log:
  Removed: The private field DateUtils.dateFormats is never read locally.
  
  Revision  Changes    Path
  1.16      +1 -11     jakarta-commons/lang/src/java/org/apache/commons/lang/time/DateUtils.java
  
  Index: DateUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/time/DateUtils.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- DateUtils.java	18 Aug 2003 02:22:25 -0000	1.15
  +++ DateUtils.java	18 Aug 2003 21:52:39 -0000	1.16
  @@ -53,8 +53,6 @@
    */
   package org.apache.commons.lang.time;
   
  -import java.text.DateFormat;
  -import java.text.SimpleDateFormat;
   import java.util.Calendar;
   import java.util.Date;
   import java.util.GregorianCalendar;
  @@ -111,14 +109,6 @@
               {Calendar.MONTH, DateUtils.SEMI_MONTH},
               {Calendar.YEAR},
               {Calendar.ERA}};
  -
  -    private static DateFormat[] dateFormats = {
  -        //3/31/92 10:00:07 PST
  -        new SimpleDateFormat("M/dd/yy h:mm:ss z"),
  -        //January 23, 1987 10:05pm
  -        new SimpleDateFormat("MMM d, yyyy h:mm a"),
  -        //22:00 GMT
  -        new SimpleDateFormat("h:mm z")};
   
       /**
        * A week range, starting on Sunday.
  
  
  

Mime
View raw message