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/java/org/apache/cocoon/serialization AbstractTextSerializer.java
Date Wed, 20 Feb 2002 13:02:01 GMT
cziegeler    02/02/20 05:02:01

  Modified:    src/java/org/apache/cocoon/serialization
                        AbstractTextSerializer.java
  Log:
  Applied patch for memory leaks.
  PR: #6574
  Submitted by: Marcus Crafter [crafterm@fztig938.bank.dresdner.net]
  
  Revision  Changes    Path
  1.8       +9 -1      xml-cocoon2/src/java/org/apache/cocoon/serialization/AbstractTextSerializer.java
  
  Index: AbstractTextSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/serialization/AbstractTextSerializer.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- AbstractTextSerializer.java	11 Feb 2002 18:49:14 -0000	1.7
  +++ AbstractTextSerializer.java	20 Feb 2002 13:02:01 -0000	1.8
  @@ -90,7 +90,7 @@
    *         (Apache Software Foundation, Exoffice Technologies)
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
    * @author <a href="mailto:sylvain.wallez@anyware-tech.com">Sylvain Wallez</a>
  - * @version CVS $Id: AbstractTextSerializer.java,v 1.7 2002/02/11 18:49:14 vgritsenko Exp
$
  + * @version CVS $Id: AbstractTextSerializer.java,v 1.8 2002/02/20 13:02:01 cziegeler Exp
$
    */
   public abstract class AbstractTextSerializer
   extends AbstractSerializer
  @@ -254,6 +254,14 @@
               getLogger().warn("Cannot know if transformer needs namespaces attributes -
assuming NO.", e);
           }
       }
  +
  +     public void recycle() {
  +        super.recycle();
  +
  +        if (this.namespacePipe!=null)
  +            this.namespacePipe.recycle();
  +     }
  +
   
       /**
        * Generate the unique key.
  
  
  

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