cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap MountNode.java
Date Mon, 29 Sep 2003 21:06:39 GMT
sylvain     2003/09/29 14:06:39

  Modified:    src/java/org/apache/cocoon/components/treeprocessor/sitemap
                        MountNode.java
  Log:
  Fix a race condition.
  Bug #23486 reported by Alfred.Nathaniel@swx.com
  
  Revision  Changes    Path
  1.6       +2 -5      cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MountNode.java
  
  Index: MountNode.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MountNode.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- MountNode.java	10 Jul 2003 13:17:00 -0000	1.5
  +++ MountNode.java	29 Sep 2003 21:06:39 -0000	1.6
  @@ -106,10 +106,7 @@
           Map objectModel = env.getObjectModel();
   
           String resolvedSource = this.source.resolve(context, objectModel);
  -        TreeProcessor processor = (TreeProcessor)processors.get(resolvedSource);
  -        if (processor == null) {
  -            processor = getProcessor(env, resolvedSource);
  -        }
  +        TreeProcessor processor = getProcessor(env, resolvedSource);
   
           String resolvedPrefix = this.prefix.resolve(context, objectModel);
   
  
  
  

Mime
View raw message