xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minc...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xml/utils XMLReaderManager.java
Date Tue, 26 Apr 2005 06:04:29 GMT
minchau     2005/04/25 23:04:29

  Modified:    java/src/org/apache/xml/utils XMLReaderManager.java
  Log:
  Applying patch in XALANJ-2105
  
  Revision  Changes    Path
  1.5       +2 -2      xml-xalan/java/src/org/apache/xml/utils/XMLReaderManager.java
  
  Index: XMLReaderManager.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/utils/XMLReaderManager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XMLReaderManager.java	23 Jan 2005 01:02:10 -0000	1.4
  +++ XMLReaderManager.java	26 Apr 2005 06:04:29 -0000	1.5
  @@ -152,7 +152,7 @@
       public synchronized void releaseXMLReader(XMLReader reader) {
           // If the reader that's being released is the cached reader
           // for this thread, remove it from the m_isUse list.
  -        if (m_readers.get() == reader) {
  +        if (m_readers.get() == reader && reader != null) {
               m_inUse.remove(reader);
           }
       }
  
  
  

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