cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/transformation I18nTransformer.java
Date Tue, 20 May 2003 15:14:02 GMT
bruno       2003/05/20 08:14:02

  Modified:    src/java/org/apache/cocoon/transformation
                        I18nTransformer.java
  Log:
  Another synchronize which was forgotten in the previous commit.
  
  Revision  Changes    Path
  1.7       +5 -3      cocoon-2.1/src/java/org/apache/cocoon/transformation/I18nTransformer.java
  
  Index: I18nTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/transformation/I18nTransformer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- I18nTransformer.java	20 May 2003 14:47:13 -0000	1.6
  +++ I18nTransformer.java	20 May 2003 15:14:02 -0000	1.7
  @@ -2134,8 +2134,10 @@
           public Bundle getCatalogue() throws Exception {
               if (catalogue == null) {
                   resolve();
  -                configureFactory(resolvedLocation);
  -                catalogue = (Bundle)factory.select(resolvedName, locale);
  +                synchronized(factory) {
  +                    configureFactory(resolvedLocation);
  +                    catalogue = (Bundle)factory.select(resolvedName, locale);
  +                }
               }
               return catalogue;
           }
  
  
  

Mime
View raw message