Skip to content

Commit 245509b

Browse files
committed
Revert "Less verbose"
This reverts commit f5056ca.
1 parent f5056ca commit 245509b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/org/apache/commons/io/input/CountingInputStream.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ public int resetCount() {
141141
*/
142142
@Override
143143
public synchronized long skip(final long length) throws IOException {
144-
return count += super.skip(length);
144+
final long skip = super.skip(length);
145+
count += skip;
146+
return skip;
145147
}
146148

147149
}

0 commit comments

Comments
 (0)