-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Override default implementation of
skip(long)
method
Delegate to `stream` the implementation of `skip(long)` method. By doing this, it is ensured that not the default implementation from `java.io.InputStream` is being used, because it calls `read()` causing actual reads from the underlying input stream although `skip` is just a logical operation. Co-authored-by: James Petty <pettja@amazon.com>
- Loading branch information
Showing
2 changed files
with
47 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters