Skip to content

Commit

Permalink
Fixed typo: ReableByteChannel should be ReadableByteChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarg committed Jun 8, 2023
1 parent 1401b71 commit 8315579
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public long transferTo(OutputStream out) throws IOException {
return transfer(rbc, fc);
}

// ReableByteChannel -> WritableByteChannel
// ReadableByteChannel -> WritableByteChannel
if (out instanceof ChannelOutputStream cos) {
ReadableByteChannel rbc = ch;
WritableByteChannel wbc = cos.channel();
Expand Down

0 comments on commit 8315579

Please sign in to comment.