axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/attachments MultiPartRelatedInputStream.java
Date Tue, 26 Aug 2003 16:45:05 GMT
stevel      2003/08/26 09:45:05

  Modified:    java/src/org/apache/axis/attachments
                        MultiPartRelatedInputStream.java
  Log:
  Bug #22723; Oracle XML parser calling a method that had not been overridden.
  
  submitted by Douglas Bitting.
  
  Revision  Changes    Path
  1.39      +11 -0     xml-axis/java/src/org/apache/axis/attachments/MultiPartRelatedInputStream.java
  
  Index: MultiPartRelatedInputStream.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/attachments/MultiPartRelatedInputStream.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- MultiPartRelatedInputStream.java	22 Apr 2003 19:34:03 -0000	1.38
  +++ MultiPartRelatedInputStream.java	26 Aug 2003 16:45:05 -0000	1.39
  @@ -756,4 +756,15 @@
   
           soapStream.close();
       }
  +
  +    /**
  +     * Available test is used by Oracle XML parser
  +     * @since Axis1.2
  +     * @return true if there is data; false if we are closed or at the end of the stream
  +     * @throws java.io.IOException
  +     */
  +    public int available() throws java.io.IOException {
  +        return (closed || eos) ? 0 : soapStream.available();
  +    }
  +
   }
  
  
  

Mime
View raw message