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 b3ea80eb Reuse IOUtils.EOF b3ea80eb is described below commit b3ea80eb421788367ebf0e60a722d1f1baa4aa3a Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Dec 28 08:44:42 2023 -0500 Reuse IOUtils.EOF --- src/main/java/org/apache/commons/io/input/CircularInputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/io/input/CircularInputStream.java b/src/main/java/org/apache/commons/io/input/CircularInputStream.java index 26d1c3f9..24619e65 100644 --- a/src/main/java/org/apache/commons/io/input/CircularInputStream.java +++ b/src/main/java/org/apache/commons/io/input/CircularInputStream.java @@ -51,7 +51,7 @@ public class CircularInputStream extends InputStream { } private long byteCount; - private int position = -1; + private int position = IOUtils.EOF; private final byte[] repeatedContent; private final long targetByteCount;