Marcono1234 commented on a change in pull request #291:
URL: https://github.com/apache/commons-io/pull/291#discussion_r800451592



##########
File path: src/main/java/org/apache/commons/io/input/ReaderInputStream.java
##########
@@ -213,6 +230,16 @@ public void close() throws IOException {
         reader.close();
     }
 
+    /**
+     * The implementation by {@link ReaderInputStream} always returns 0.
+     */
+    @Override
+    public int available() throws IOException {
+        // Could implement this using Reader.ready(), but would be rather 
cumbersome
+        // and probably not very efficient
+        return 0;
+    }
+

Review comment:
       Sorry; have removed this method again now in the latest commit.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to