axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/message SAX2EventRecorder.java
Date Tue, 09 Apr 2002 23:44:08 GMT
gdaniels    02/04/09 16:44:08

  Modified:    java/src/org/apache/axis/message SAX2EventRecorder.java
  Log:
  Bulletproof
  
  Revision  Changes    Path
  1.5       +3 -1      xml-axis/java/src/org/apache/axis/message/SAX2EventRecorder.java
  
  Index: SAX2EventRecorder.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/SAX2EventRecorder.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SAX2EventRecorder.java	30 Oct 2001 14:19:29 -0000	1.4
  +++ SAX2EventRecorder.java	9 Apr 2002 23:44:08 -0000	1.5
  @@ -159,7 +159,9 @@
       }
       
       public void replay(ContentHandler handler) throws SAXException {
  -        replay(0, events.getLength() - 1, handler);
  +        if (events.getLength() > 0) {
  +            replay(0, events.getLength() - 1, handler);
  +        }
       }
       
       public void replay(int start, int stop, ContentHandler handler) throws SAXException
{
  
  
  

Mime
View raw message