tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/digester Digester.java
Date Fri, 24 Sep 2004 07:27:04 GMT
remm        2004/09/24 00:27:04

  Modified:    util/java/org/apache/tomcat/util/digester Digester.java
  Log:
  - Reset now removes the error handler, the root and calls clear. Calling it should be enough
to prevent any leaks (of course,
    the leaking would only last until the next use of the digester instance, which isn't too
bad overall).
  
  Revision  Changes    Path
  1.5       +3 -1      jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/digester/Digester.java
  
  Index: Digester.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/digester/Digester.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Digester.java	6 Sep 2004 15:02:08 -0000	1.4
  +++ Digester.java	24 Sep 2004 07:27:04 -0000	1.5
  @@ -2373,6 +2373,8 @@
       
       public void reset() {
           root = null;
  +        setErrorHandler(null);
  +        clear();
       }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message