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 2003/11/09 20:55:51 UTC

cvs commit: cocoon-2.2/src/java/org/apache/cocoon/generation JXTemplateGenerator.java

cziegeler    2003/11/09 11:55:51

  Modified:    src/java/org/apache/cocoon/generation
                        JXTemplateGenerator.java
  Log:
  Moving to Resetable
  
  Revision  Changes    Path
  1.17      +5 -5      cocoon-2.2/src/java/org/apache/cocoon/generation/JXTemplateGenerator.java
  
  Index: JXTemplateGenerator.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/generation/JXTemplateGenerator.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- JXTemplateGenerator.java	7 Nov 2003 13:25:54 -0000	1.16
  +++ JXTemplateGenerator.java	9 Nov 2003 19:55:51 -0000	1.17
  @@ -2590,8 +2590,8 @@
   
           TemplateConsumer templateConsumer;
   
  -        public void recycle() {
  -            super.recycle();
  +        public void reset() {
  +            super.reset();
               templateConsumer = null;
           }
   
  @@ -2627,7 +2627,7 @@
       /* (non-Javadoc)
        * @see org.apache.avalon.excalibur.pool.Recyclable#recycle()
        */
  -    public void recycle() {
  +    public void reset() {
           if ( this.resolver != null) {
               this.resolver.release(this.inputSource);            
           }
  @@ -2636,7 +2636,7 @@
           this.globalJexlContext = null;
           this.variables = null;
           this.definitions = null;
  -        super.recycle();
  +        super.reset();
       }
   
       /* (non-Javadoc)