cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/environment AbstractEnvironment.java
Date Fri, 02 May 2003 06:53:11 GMT
cziegeler    2003/05/01 23:53:11

  Modified:    src/java/org/apache/cocoon/environment
                        AbstractEnvironment.java
  Log:
  Fixing comment
  
  Revision  Changes    Path
  1.10      +3 -4      cocoon-2.1/src/java/org/apache/cocoon/environment/AbstractEnvironment.java
  
  Index: AbstractEnvironment.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/environment/AbstractEnvironment.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AbstractEnvironment.java	29 Apr 2003 10:45:21 -0000	1.9
  +++ AbstractEnvironment.java	2 May 2003 06:53:10 -0000	1.10
  @@ -55,7 +55,6 @@
   import java.io.OutputStream;
   import java.lang.reflect.Constructor;
   import java.net.MalformedURLException;
  -import java.net.URL;
   import java.util.Enumeration;
   import java.util.HashMap;
   import java.util.Map;
  @@ -102,7 +101,7 @@
        /** The Context path */
       protected String context = null;
   
  -	/** The context path stored temporarily between constructor and startingProcessing */
  +	/** The context path stored temporarily between constructor and initComponents */
       private String tempInitContext = null;
   
       /** The root context path */
  @@ -287,7 +286,7 @@
                   sContext = newContext;
               } else {
                   // context is relative to old one
  -                sContext = new URL(new URL(this.context), newContext).toString();
  +                sContext = this.context + '/' + newContext;
               }
   
               // Cut the file name part from context (if present)
  
  
  

Mime
View raw message