You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2002/02/13 08:06:06 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/generation HTMLGenerator.java

cziegeler    02/02/12 23:06:06

  Modified:    src/java/org/apache/cocoon/generation HTMLGenerator.java
  Log:
  Minor clean up
  
  Revision  Changes    Path
  1.9       +3 -2      xml-cocoon2/src/java/org/apache/cocoon/generation/HTMLGenerator.java
  
  Index: HTMLGenerator.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/generation/HTMLGenerator.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- HTMLGenerator.java	7 Feb 2002 08:17:52 -0000	1.8
  +++ HTMLGenerator.java	13 Feb 2002 07:06:06 -0000	1.9
  @@ -93,7 +93,7 @@
    * @author <a href="mailto:dims@yahoo.com">Davanum Srinivas</a>
    * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
    * @author <a href="mailto:barozzi@nicolaken.com">Nicola Ken Barozzi</a>
  - * @version CVS $Id: HTMLGenerator.java,v 1.8 2002/02/07 08:17:52 cziegeler Exp $
  + * @version CVS $Id: HTMLGenerator.java,v 1.9 2002/02/13 07:06:06 cziegeler Exp $
    */
   public class HTMLGenerator extends ComposerGenerator
   implements Cacheable, Composable, Disposable {
  @@ -108,7 +108,7 @@
       private XPathProcessor processor = null;
   
       public void compose(ComponentManager manager) {
  -        this.manager = manager;
  +        super.compose( manager );
           try {
               this.processor = (XPathProcessor)this.manager.lookup(XPathProcessor.ROLE);
           } catch (Exception e) {
  @@ -275,6 +275,7 @@
       public void dispose()
       {
           this.manager.release(this.processor);
  +        this.processor = null;
           super.dispose();
       }
   }
  
  
  

----------------------------------------------------------------------
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