/[Apache-SVN]/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/CIncludeTransformer.java
ViewVC logotype

Diff of /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/CIncludeTransformer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/CIncludeTransformer.java	2005/05/05 18:19:40	168365
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/CIncludeTransformer.java	2005/05/05 18:23:18	168366
@@ -222,10 +222,11 @@ public class CIncludeTransformer extends
      * @see org.apache.avalon.framework.activity.Disposable#dispose()
      */
     public void dispose() {
-        if ( null != this.manager ) {
-            this.manager.release( this.cacheManager );
+        if (null != this.manager) {
+            this.manager.release(this.cacheManager);
             this.manager = null;
         }
+        super.dispose();
     }
 
     /**
@@ -240,7 +241,7 @@ public class CIncludeTransformer extends
             this.manager.release( this.recorder );
             this.recorder = null;
         }
-        super.recycle();
+
         this.configurationParameters = null;
         this.resourceParameters = null;
         if (getLogger().isDebugEnabled()) {
@@ -249,6 +250,8 @@ public class CIncludeTransformer extends
             this.startTime = 0;
         }
         this.filter = null;
+
+        super.recycle();
     }
 
     public void startTransformingElement(String uri, String name, String raw, Attributes attr)

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26