ugo         2004/04/19 12:36:43

  Modified:    src/blocks/repository/java/org/apache/cocoon/generation
                        TraversableGenerator.java
  Log:
  Change call to "new Locale" for compatibility with JDK 1.3
  
  Revision  Changes    Path
  1.14      +2 -2      
cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/generation/TraversableGenerator.java
  
  Index: TraversableGenerator.java
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/generation/TraversableGenerator.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- TraversableGenerator.java 4 Apr 2004 12:09:02 -0000       1.13
  +++ TraversableGenerator.java 19 Apr 2004 19:36:43 -0000      1.14
  @@ -193,7 +193,7 @@
           if (dateFormatString != null) {
               String locale = par.getParameter("locale", null);
               if (locale != null) {
  -                this.dateFormatter = new SimpleDateFormat(dateFormatString, 
new Locale(locale));
  +                this.dateFormatter = new SimpleDateFormat(dateFormatString, 
new Locale(locale, ""));
               } else {
                   this.dateFormatter = new SimpleDateFormat(dateFormatString);
               }
  
  
  

Reply via email to