cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor TreeProcessor.java
Date Mon, 28 Jul 2003 18:09:48 GMT
cziegeler    2003/07/28 11:09:48

  Modified:    src/java/org/apache/cocoon/components/treeprocessor
                        TreeProcessor.java
  Log:
  It's that easy...removed unnecessary environment handling for internal calls and finally
fixed wrong sitemap manager
  
  Revision  Changes    Path
  1.9       +2 -4      cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java
  
  Index: TreeProcessor.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TreeProcessor.java	28 Jul 2003 17:50:41 -0000	1.8
  +++ TreeProcessor.java	28 Jul 2003 18:09:48 -0000	1.9
  @@ -323,7 +323,7 @@
           }
   
           // and now process
  -        CocoonComponentManager.enterEnvironment(environment, this.manager, this);
  +        CocoonComponentManager.enterEnvironment(environment, this.sitemapComponentManager,
this);
           try {
               return this.rootNode.invoke(environment, context);
           } finally {
  @@ -342,7 +342,6 @@
   
           context.enableLogging(getLogger());
   
  -        CocoonComponentManager.enterEnvironment(environment, this.manager, this);
           try {
               if ( process(environment, context) ) {
                   return context.getProcessingPipeline();
  @@ -350,7 +349,6 @@
                   return null;
               }
           } finally {
  -            CocoonComponentManager.leaveEnvironment();
               context.dispose();
           }
       }
  
  
  

Mime
View raw message