avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mirceat...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/xmlutil/src/java/org/apache/avalon/excalibur/xml ContentHandlerWrapper.java
Date Tue, 15 Oct 2002 23:19:45 GMT
mirceatoma    2002/10/15 16:19:45

  Modified:    xmlutil/src/java/org/apache/avalon/excalibur/xml
                        ContentHandlerWrapper.java
  Log:
  Created a thread safe copy in org.apache.excalibur.xml.sax package.
  Deprecated.
  Removed dependency on excalibur-pool project.
  
  Revision  Changes    Path
  1.5       +3 -9      jakarta-avalon-excalibur/xmlutil/src/java/org/apache/avalon/excalibur/xml/ContentHandlerWrapper.java
  
  Index: ContentHandlerWrapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/xmlutil/src/java/org/apache/avalon/excalibur/xml/ContentHandlerWrapper.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ContentHandlerWrapper.java	6 Aug 2002 18:13:02 -0000	1.4
  +++ ContentHandlerWrapper.java	15 Oct 2002 23:19:45 -0000	1.5
  @@ -7,7 +7,6 @@
    */
   package org.apache.avalon.excalibur.xml;
   
  -import org.apache.avalon.excalibur.pool.Recyclable;
   import org.xml.sax.Attributes;
   import org.xml.sax.ContentHandler;
   import org.xml.sax.Locator;
  @@ -20,13 +19,14 @@
    * its {@link XMLConsumer}s interface.
    * <br>
    *
  + * @deprecated Moved to org.apache.excalibur.xml.sax package. Modified to be 
  + * thread safe.
    * @author <a href="mailto:dims@yahoo.com">Davanum Srinivas</a>
    *         (Apache Software Foundation, Computer Associates)
    * @version CVS $Revision$ $Date$
    */
   public class ContentHandlerWrapper
       extends AbstractXMLConsumer
  -    implements Recyclable
   {
       /** The current {@link ContentHandler}. */
       private ContentHandler m_contentHandler;
  @@ -89,12 +89,6 @@
               throw new IllegalStateException();
           }
           m_lexicalHandler = lexicalHandler;
  -    }
  -
  -    public void recycle()
  -    {
  -        m_contentHandler = null;
  -        m_lexicalHandler = null;
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message