This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push: new c8fc6c49 Better comment c8fc6c49 is described below commit c8fc6c491bd5534fac90645b2c1cd880d2b5b3dc Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Jun 2 17:17:43 2023 -0400 Better comment --- src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java b/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java index 786d4cce..41ed2552 100644 --- a/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java +++ b/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java @@ -172,7 +172,7 @@ public class CharSequenceInputStream extends InputStream { public int available() throws IOException { // The cached entries are in bBuf; since encoding always creates at least one byte // per character, we can add the two to get a better estimate (e.g. if bBuf is empty) - // Note that the previous implementation (2.4) could return zero even though there were + // Note that the implementation in 2.4 could return zero even though there were // encoded bytes still available. return this.bBuf.remaining() + this.cBuf.remaining(); }