xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From il...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/trace TraceManager.java
Date Mon, 03 Feb 2003 19:59:46 GMT
ilene       2003/02/03 11:59:46

  Modified:    java/src/org/apache/xalan/trace Tag: XSLTC_DTM
                        TraceManager.java
  Log:
  Propogating patch for bugzilla#5140.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.3  +5 -0      xml-xalan/java/src/org/apache/xalan/trace/TraceManager.java
  
  Index: TraceManager.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/trace/TraceManager.java,v
  retrieving revision 1.11.2.2
  retrieving revision 1.11.2.3
  diff -u -r1.11.2.2 -r1.11.2.3
  --- TraceManager.java	30 Jan 2003 18:41:32 -0000	1.11.2.2
  +++ TraceManager.java	3 Feb 2003 19:59:45 -0000	1.11.2.3
  @@ -120,6 +120,11 @@
       if (null != m_traceListeners)
       {
         m_traceListeners.removeElement(tl);
  +      // The following line added to fix the bug#5140: hasTraceListeners() returns true
  +      // after adding and removing a listener.
  +      
  +      // Check: if m_traceListeners is empty, then set it to NULL.
  +      if (0 == m_traceListeners.size()) m_traceListeners = null;
       }
     }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message