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 Jun 2, 2024
1 parent 1ef7e14 commit dea5194
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 @@ -1640,7 +1640,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 @@ -375,7 +375,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 dea5194

Please sign in to comment.