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:21 GMT
cziegeler    01/11/28 03:18:21

  Modified:    src/org/apache/cocoon/components/pipeline Tag:
                        cocoon_20_branch AbstractEventPipeline.java
  Log:
  Corrected check for optional configured SAXConnector
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.2.12  +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.5.2.11
  retrieving revision 1.5.2.12
  diff -u -r1.5.2.11 -r1.5.2.12
  --- AbstractEventPipeline.java	2001/10/11 08:56:08	1.5.2.11
  +++ AbstractEventPipeline.java	2001/11/28 11:18:21	1.5.2.12
  @@ -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.5.2.11 $ $Date: 2001/10/11 08:56:08 $
  + * @version CVS $Revision: 1.5.2.12 $ $Date: 2001/11/28 11:18:21 $
    */
   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