Author: cziegeler
Date: Mon May  2 07:27:55 2005
New Revision: 165640

URL: http://svn.apache.org/viewcvs?rev=165640&view=rev
Log:
We don't need the context

Modified:
    
cocoon/trunk/src/java/org/apache/cocoon/components/source/CocoonSourceResolver.java

Modified: 
cocoon/trunk/src/java/org/apache/cocoon/components/source/CocoonSourceResolver.java
URL: 
http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/source/CocoonSourceResolver.java?rev=165640&r1=165639&r2=165640&view=diff
==============================================================================
--- 
cocoon/trunk/src/java/org/apache/cocoon/components/source/CocoonSourceResolver.java
 (original)
+++ 
cocoon/trunk/src/java/org/apache/cocoon/components/source/CocoonSourceResolver.java
 Mon May  2 07:27:55 2005
@@ -62,17 +62,13 @@
     /** The base URL */
     protected URL baseURL;
 
-    /** The component context */
-    protected Context context;
-
     /**
      * @see 
org.apache.avalon.framework.context.Contextualizable#contextualize(org.apache.avalon.framework.context.Context)
      */
     public void contextualize( Context context )
     throws ContextException {
-        this.context = context;
         try {
-            if( context.get( "context-root" ) instanceof URL ) {
+            if ( context.get( "context-root" ) instanceof URL ) {
                 this.baseURL = (URL)context.get( "context-root" );
             } else {
                 this.baseURL = ( (File)context.get( "context-root" ) ).toURL();


Reply via email to