Skip to content

Commit

Permalink
Use final
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Mar 4, 2024
1 parent ebca0b8 commit 7e5badb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public static byte[] readRange(final ReadableByteChannel input, final int length
* @return the number of bytes actually skipped
* @throws IOException on error
*/
public static long skip(final InputStream input, long toSkip) throws IOException {
public static long skip(final InputStream input, final long toSkip) throws IOException {
return org.apache.commons.io.IOUtils.skip(input, toSkip, org.apache.commons.io.IOUtils::byteArray);
}

Expand Down

0 comments on commit 7e5badb

Please sign in to comment.