Skip to content

Commit f5056ca

Browse files
committed
Less verbose
1 parent b11083d commit f5056ca

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

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

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

149147
}

0 commit comments

Comments
 (0)