cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/sitemap ResourcePipeline.java
Date Mon, 31 Jul 2000 17:05:56 GMT
giacomo     00/07/31 10:05:56

  Modified:    src/org/apache/cocoon/sitemap Tag: xml-cocoon2
                        ResourcePipeline.java
  Log:
  Fixed some typos with  a patch from Carsten Ziegler
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.10  +4 -4      xml-cocoon/src/org/apache/cocoon/sitemap/Attic/ResourcePipeline.java
  
  Index: ResourcePipeline.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/sitemap/Attic/ResourcePipeline.java,v
  retrieving revision 1.1.2.9
  retrieving revision 1.1.2.10
  diff -u -r1.1.2.9 -r1.1.2.10
  --- ResourcePipeline.java	2000/07/28 16:20:41	1.1.2.9
  +++ ResourcePipeline.java	2000/07/31 17:05:56	1.1.2.10
  @@ -30,7 +30,7 @@
   /**
    *
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
  - * @version CVS $Revision: 1.1.2.9 $ $Date: 2000/07/28 16:20:41 $
  + * @version CVS $Revision: 1.1.2.10 $ $Date: 2000/07/31 17:05:56 $
    */
   public class ResourcePipeline implements Composer {
       private Generator generator = null;
  @@ -80,7 +80,7 @@
       throws InstantiationException, IllegalAccessException {
           this.reader = (Reader)reader.getClass().newInstance();
           if (this.reader instanceof Composer) 
  -            ((Composer)this.generator).setComponentManager (manager);
  +            ((Composer)this.reader).setComponentManager (manager);
           if (this.reader instanceof Configurable) 
               ((Configurable)this.reader).setConfiguration (conf);
           this.readerSource = source;
  @@ -99,7 +99,7 @@
       throws InstantiationException, IllegalAccessException {
           this.serializer = (Serializer)serializer.getClass().newInstance();
           if (this.serializer instanceof Composer) 
  -            ((Composer)this.generator).setComponentManager (manager);
  +            ((Composer)this.serializer).setComponentManager (manager);
           if (this.serializer instanceof Configurable) 
               ((Configurable)this.serializer).setConfiguration (conf);
           this.serializerSource = source;
  @@ -111,7 +111,7 @@
       throws InstantiationException, IllegalAccessException {
           Transformer transfmr = (Transformer)transformer.getClass().newInstance();
           if (transfmr instanceof Composer) 
  -            ((Composer)this.generator).setComponentManager (manager);
  +            ((Composer)transfmr).setComponentManager (manager);
           if (transfmr instanceof Configurable) 
               ((Configurable)transfmr).setConfiguration (conf);
           this.transformers.add (transfmr);
  
  
  

Mime
View raw message