cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r588810 - /cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java
Date Sat, 27 Oct 2007 00:06:01 GMT
Author: vgritsenko
Date: Fri Oct 26 17:06:00 2007
New Revision: 588810

URL: http://svn.apache.org/viewvc?rev=588810&view=rev
Log:
another finally{} tweak.

Modified:
    cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java

Modified: cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java?rev=588810&r1=588809&r2=588810&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java
(original)
+++ cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java
Fri Oct 26 17:06:00 2007
@@ -225,17 +225,17 @@
             }
 
             this.sitemapExecutor.enterSitemap(this, environment.getObjectModel(), this.wrappingProcessor.source.getURI());
+
             // and now process
             EnvironmentHelper.enterProcessor(this, environment);
             final Redirector oldRedirector = context.getRedirector();
-
-            // Build a redirector
-            TreeProcessorRedirector redirector = new TreeProcessorRedirector(environment,
context);
-            context.setRedirector(redirector);
-            context.service(this.manager);
-            context.setLastProcessor(this);
-
             try {
+                // Build a redirector
+                TreeProcessorRedirector redirector = new TreeProcessorRedirector(environment,
context);
+                context.setRedirector(redirector);
+                context.service(this.manager);
+                context.setLastProcessor(this);
+
                 return this.rootNode.invoke(environment, context);
             } finally {
                 EnvironmentHelper.leaveProcessor();



Mime
View raw message