cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r280344 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MountNode.java
Date Mon, 12 Sep 2005 14:15:03 GMT
Author: cziegeler
Date: Mon Sep 12 07:15:00 2005
New Revision: 280344

URL: http://svn.apache.org/viewcvs?rev=280344&view=rev
Log:
Convert only once

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MountNode.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MountNode.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MountNode.java?rev=280344&r1=280343&r2=280344&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MountNode.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MountNode.java
Mon Sep 12 07:15:00 2005
@@ -63,7 +63,7 @@
     private ComponentManager manager;
 
     /** The value of the 'pass-through' attribute */
-    private final boolean passThrough;
+    private final Boolean passThrough;
 
     public MountNode(VariableResolver prefix,
                      VariableResolver source,
@@ -74,7 +74,7 @@
         this.source = source;
         this.parentProcessor = parentProcessor;
         this.checkReload = checkReload;
-        this.passThrough = passThrough;
+        this.passThrough = BooleanUtils.toBooleanObject(passThrough);
     }
 
     public void compose(ComponentManager manager) throws ComponentException {
@@ -98,7 +98,7 @@
         String oldURI    = env.getURI();
         String oldContext   = env.getContext();
         Object oldPassThrough = env.getAttribute(COCOON_PASS_THROUGH);
-        env.setAttribute(COCOON_PASS_THROUGH, BooleanUtils.toBooleanObject(passThrough));
+        env.setAttribute(COCOON_PASS_THROUGH, this.passThrough);
 
         boolean pipelineWasBuilt = false;
 



Mime
View raw message