Skip to content

Commit

Permalink
Clarified in JavaDocs that implementation uses off-heap memory
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarg committed Jul 29, 2024
1 parent 0c8caff commit d74b019
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1645,7 +1645,7 @@ public String toString() {
* value differently.
*
* @implSpec
* The {@code skip} method implementation of this class creates a
* The {@code skip} method implementation of this class creates an off-heap
* byte array and then repeatedly reads into it until {@code n} bytes
* have been read or the end of the stream has been reached. Subclasses are
* encouraged to provide a more efficient implementation of this method.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public long read(ByteBuffer[] dsts) throws IOException {
* value differently.
*
* @implSpec
* The {@code skip} method implementation of this class creates a
* The {@code skip} method implementation of this class creates an off-heap
* byte array and then repeatedly reads into it until {@code n} bytes
* have been read or the end of the stream has been reached. Subclasses are
* encouraged to provide a more efficient implementation of this method.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public long read(ByteBuffer[] dsts) throws IOException {
* value differently.
*
* @implSpec
* The {@code skip} method implementation of this class creates a
* The {@code skip} method implementation of this class creates an off-heap
* byte array and then repeatedly reads into it until {@code n} bytes
* have been read or the end of the stream has been reached. Subclasses are
* encouraged to provide a more efficient implementation of this method.
Expand Down

0 comments on commit d74b019

Please sign in to comment.