Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dlarge committed Oct 2, 2024
1 parent 6b1095c commit bfff110
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ public ByteBuf readChunk(ByteBufAllocator allocator) throws Exception {
ByteBuf buffer = allocator.buffer(writeBytes);

// Re-position the byte buffer for the partial chunk write
if (writeBytes < chunkSize) {
byteBuffer.position(chunkSize - writeBytes);
}
if (writeBytes < chunkSize) {
byteBuffer.position(chunkSize - writeBytes);
}

// Write the chunk
try {
Expand Down

0 comments on commit bfff110

Please sign in to comment.