cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/transformation XMLFormTransformer.java
Date Sat, 08 Mar 2003 14:13:08 GMT
sylvain     2003/03/08 06:13:08

  Modified:    src/java/org/apache/cocoon/transformation
                        XMLFormTransformer.java
  Log:
  Fix an NPE occuring when the transformer is recycled without setup() having being called
  can occur when the pipeline is "abandoned" for some reason)
  
  Revision  Changes    Path
  1.20      +0 -2      xml-cocoon2/src/java/org/apache/cocoon/transformation/XMLFormTransformer.java
  
  Index: XMLFormTransformer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/transformation/XMLFormTransformer.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- XMLFormTransformer.java	23 Feb 2003 19:21:22 -0000	1.19
  +++ XMLFormTransformer.java	8 Mar 2003 14:13:07 -0000	1.20
  @@ -340,10 +340,8 @@
       public void recycle() 
       {
         // init tracking parameters
  -      formStack.clear();
         formStack = null;
         cannonicalRef = null;
  -      refStack.clear();
         refStack = null;
         currentTagDepth = 0;
         repeatTagDepth = -1;
  
  
  

Mime
View raw message