cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r441651 - /cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java
Date Fri, 08 Sep 2006 21:07:58 GMT
Author: cziegeler
Date: Fri Sep  8 14:07:57 2006
New Revision: 441651

URL: http://svn.apache.org/viewvc?view=rev&rev=441651
Log:
Cleanup

Modified:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java

Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java?view=diff&rev=441651&r1=441650&r2=441651
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java
(original)
+++ cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java
Fri Sep  8 14:07:57 2006
@@ -25,9 +25,6 @@
 import org.apache.avalon.framework.configuration.ConfigurationException;
 import org.apache.avalon.framework.configuration.NamespacedSAXConfigurationHandler;
 import org.apache.avalon.framework.container.ContainerUtil;
-import org.apache.avalon.framework.context.Context;
-import org.apache.avalon.framework.context.ContextException;
-import org.apache.avalon.framework.context.Contextualizable;
 import org.apache.avalon.framework.logger.AbstractLogEnabled;
 import org.apache.avalon.framework.service.ServiceException;
 import org.apache.avalon.framework.service.ServiceManager;
@@ -56,15 +53,12 @@
  */
 public class TreeProcessor extends AbstractLogEnabled
                            implements ThreadSafe, Processor, Serviceable,
-                                      Configurable, Contextualizable,
+                                      Configurable,
                                       Disposable, Initializable {
 
     /** The parent TreeProcessor, if any */
     protected TreeProcessor parent;
 
-    /** The context */
-    protected Context context;
-
     /**
      * The component manager given by the upper level
      * (root manager or parent concrete processor)
@@ -121,7 +115,6 @@
         enableLogging(parent.getLogger());
 
         // Copy all that can be copied from the parent
-        this.context = parent.context;
         this.source = sitemapSource;
         this.checkReload = checkReload;
         this.lastModifiedDelay = parent.lastModifiedDelay;
@@ -150,13 +143,6 @@
         DelayedRefreshSourceWrapper delayedSource = new DelayedRefreshSourceWrapper(
                 this.resolver.resolveURI(src), this.lastModifiedDelay);
         return new TreeProcessor(this, delayedSource, configuredCheckReload, prefix);
-    }
-
-    /**
-     * @see org.apache.avalon.framework.context.Contextualizable#contextualize(org.apache.avalon.framework.context.Context)
-     */
-    public void contextualize(Context avalonContext) throws ContextException {
-        this.context = avalonContext;
     }
 
     /**



Mime
View raw message