cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon Engine.java
Date Sun, 23 Jan 2000 23:16:21 GMT
stefano     00/01/23 15:16:21

  Modified:    src/org/apache/cocoon Engine.java
  Log:
  cosmetic
  
  Revision  Changes    Path
  1.10      +7 -7      xml-cocoon/src/org/apache/cocoon/Engine.java
  
  Index: Engine.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Engine.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Engine.java	2000/01/10 21:50:50	1.9
  +++ Engine.java	2000/01/23 23:16:21	1.10
  @@ -1,4 +1,4 @@
  -/*-- $Id: Engine.java,v 1.9 2000/01/10 21:50:50 stefano Exp $ --
  +/*-- $Id: Engine.java,v 1.10 2000/01/23 23:16:21 stefano Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -72,7 +72,7 @@
    * This class implements the engine that does all the document processing.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version $Revision: 1.9 $ $Date: 2000/01/10 21:50:50 $
  + * @version $Revision: 1.10 $ $Date: 2000/01/23 23:16:21 $
    */
   
   public class Engine implements Defaults {
  @@ -111,11 +111,6 @@
           // stores the configuration instance
           this.configurations = configurations;
   
  -        // Create the URLHandler factory and register it
  -        URL.setURLStreamHandlerFactory(
  -            new URLHandlerFactory((String) configurations.get(HOME))
  -        );
  -
           // stores the engine context
           if ((context != null) && (context instanceof ServletContext)) {
               this.servletContext = (ServletContext) context;
  @@ -123,6 +118,11 @@
               // register the context
               manager.setRole("context", context);
           }
  +
  +        // Create the URLHandler factory and register it
  +        URL.setURLStreamHandlerFactory(
  +            new URLHandlerFactory((String) configurations.get(HOME))
  +        );
   
           // Create the parser and register it
           parser = (Parser) manager.create((String) configurations.get(PARSER_PROP,
  
  
  

Mime
View raw message