cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/components/pipeline AbstractEventPipeline.java
Date Wed, 28 Nov 2001 11:18:45 GMT
cziegeler    01/11/28 03:18:45

  Modified:    src/org/apache/cocoon/components/pipeline
                        AbstractEventPipeline.java
  Log:
  Corrected check for optional configured SAXConnector
  
  Revision  Changes    Path
  1.17      +2 -6      xml-cocoon2/src/org/apache/cocoon/components/pipeline/AbstractEventPipeline.java
  
  Index: AbstractEventPipeline.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/pipeline/AbstractEventPipeline.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- AbstractEventPipeline.java	2001/10/11 07:28:18	1.16
  +++ AbstractEventPipeline.java	2001/11/28 11:18:45	1.17
  @@ -31,7 +31,7 @@
   /**
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
    * @author <a href="mailto:cziegeler@Carsten Ziegeler">Carsten Ziegeler</a>
  - * @version CVS $Revision: 1.16 $ $Date: 2001/10/11 07:28:18 $
  + * @version CVS $Revision: 1.17 $ $Date: 2001/11/28 11:18:45 $
    */
   public abstract class AbstractEventPipeline
   extends AbstractXMLProducer
  @@ -58,11 +58,7 @@
           this.manager = manager;
           generatorSelector = (ComponentSelector) this.manager.lookup(Generator.ROLE + "Selector");
           transformerSelector = (ComponentSelector) this.manager.lookup(Transformer.ROLE
+ "Selector");
  -        this.configuredSAXConnector = false;
  -        try {
  -            this.manager.release(this.manager.lookup(SAXConnector.ROLE));
  -            this.configuredSAXConnector = true;
  -        } catch (ComponentException ignore) {}
  +        this.configuredSAXConnector = this.manager.hasComponent(SAXConnector.ROLE);
       }
   
       public void setGenerator (String role, String source, Parameters param, Exception e)
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message