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 f5056ca6 Less verbose f5056ca6 is described below commit f5056ca63f49a117607acc13584e57d5090960e5 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Dec 28 11:17:06 2023 -0500 Less verbose --- src/main/java/org/apache/commons/io/input/CountingInputStream.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/io/input/CountingInputStream.java b/src/main/java/org/apache/commons/io/input/CountingInputStream.java index a3c11aa8..16f60b23 100644 --- a/src/main/java/org/apache/commons/io/input/CountingInputStream.java +++ b/src/main/java/org/apache/commons/io/input/CountingInputStream.java @@ -141,9 +141,7 @@ public class CountingInputStream extends ProxyInputStream { */ @Override public synchronized long skip(final long length) throws IOException { - final long skip = super.skip(length); - count += skip; - return skip; + return count += super.skip(length); } }