Skip to content

Commit 339f810

Browse files
authored
Update UncompressInputStream.java
tweaked skip()
1 parent ebac02f commit 339f810

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

biojava-core/src/main/java/org/biojava/nbio/core/util/UncompressInputStream.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,7 @@ private void fill() throws IOException {
381381

382382
@Override
383383
public synchronized long skip(long num) throws IOException {
384-
return Math.max(0,
385-
read(new byte[(int) num], 0, (int) num));
384+
return Math.max(0, read(new byte[(int) num]);
386385
}
387386

388387

0 commit comments

Comments
 (0)