maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r374717 - /maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/util/AbstractConsumer.java
Date Fri, 03 Feb 2006 18:05:20 GMT
Author: evenisse
Date: Fri Feb  3 10:05:17 2006
New Revision: 374717

URL: http://svn.apache.org/viewcvs?rev=374717&view=rev
Log: (empty)

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=374717&r1=374716&r2=374717&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
Fri Feb  3 10:05:17 2006
@@ -25,6 +25,7 @@
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
 import java.util.Date;
+import java.util.Locale;
 
 /**
  * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
@@ -72,7 +73,7 @@
             else
             {
                 // Use the English short date pattern if no pattern is specified
-                format = new SimpleDateFormat( DateFormat.SHORT, Locale.ENGLISH );
+                format = DateFormat.getDateInstance( DateFormat.SHORT, Locale.ENGLISH );
             }
         }
 



Mime
View raw message