garydgregory commented on a change in pull request #291: URL: https://github.com/apache/commons-io/pull/291#discussion_r800238449
########## 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: ping. -- 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: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org