xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ce...@apache.org
Subject svn commit: r687413 - /xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Saver.java
Date Wed, 20 Aug 2008 18:34:57 GMT
Author: cezar
Date: Wed Aug 20 11:34:56 2008
New Revision: 687413

URL: http://svn.apache.org/viewvc?rev=687413&view=rev
Log:
Adding available method on InputStream saver.



Modified:
    xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Saver.java

Modified: xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Saver.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Saver.java?rev=687413&r1=687412&r2=687413&view=diff
==============================================================================
--- xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Saver.java (original)
+++ xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Saver.java Wed Aug 20 11:34:56
2008
@@ -2499,6 +2499,12 @@
             return bytesAvailable;
         }
 
+        public int available()
+            throws IOException
+        {
+	        return ensure(1024);
+        }
+
         private final class OutputStreamImpl extends OutputStream
         {
             int read ( )



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org


Mime
View raw message