commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgra...@apache.org
Subject cvs commit: jakarta-commons/dbutils/src/test/org/apache/commons/dbutils BasicRowProcessorTest.java
Date Mon, 31 May 2004 12:54:01 GMT
dgraham     2004/05/31 05:54:01

  Modified:    dbutils/src/test/org/apache/commons/dbutils
                        BasicRowProcessorTest.java
  Log:
  Specify US locale in SimpleDateFormat so english characters will be 
  recognized on non-english JVMs.
  
  Revision  Changes    Path
  1.8       +2 -1      jakarta-commons/dbutils/src/test/org/apache/commons/dbutils/BasicRowProcessorTest.java
  
  Index: BasicRowProcessorTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbutils/src/test/org/apache/commons/dbutils/BasicRowProcessorTest.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- BasicRowProcessorTest.java	14 Mar 2004 23:03:54 -0000	1.7
  +++ BasicRowProcessorTest.java	31 May 2004 12:54:01 -0000	1.8
  @@ -20,6 +20,7 @@
   import java.text.ParseException;
   import java.text.SimpleDateFormat;
   import java.util.List;
  +import java.util.Locale;
   import java.util.Map;
   
   /**
  @@ -34,7 +35,7 @@
        * Sun Mar 14 15:19:15 MST 2004
        */ 
       private static final DateFormat datef =
  -        new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy");
  +        new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", Locale.US);
   
       /**
        * Constructor for BasicRowProcessorTest.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message