maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r374532 - /maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/util/AbstractConsumer.java
Date Thu, 02 Feb 2006 22:34:08 GMT
Author: evenisse
Date: Thu Feb  2 14:34:05 2006
New Revision: 374532

URL: http://svn.apache.org/viewcvs?rev=374532&view=rev
Log:
Use the English short date pattern if no pattern is specified

Modified:
    maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/util/AbstractConsumer.java

Modified: maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/util/AbstractConsumer.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/util/AbstractConsumer.java?rev=374532&r1=374531&r2=374532&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/util/AbstractConsumer.java
(original)
+++ maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/util/AbstractConsumer.java
Thu Feb  2 14:34:05 2006
@@ -21,6 +21,7 @@
 import org.codehaus.plexus.util.StringUtils;
 import org.codehaus.plexus.util.cli.StreamConsumer;
 
+import java.text.DateFormat;
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
 import java.util.Date;
@@ -56,7 +57,7 @@
      */
     protected Date parseDate( String date, String userPattern, String defaultPattern )
     {
-        SimpleDateFormat format;
+        DateFormat format;
 
         if ( !StringUtils.isEmpty( userPattern ) )
         {



Mime
View raw message