Skip to content

Commit

Permalink
[SPARK-47172][3.4] Fixing lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sweisdb committed Jun 24, 2024
1 parent 16332a5 commit af0d1ee
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,8 @@ public void channelRead(ChannelHandlerContext ctx, Object ciphertextMessage)
int expectedRemaining = (int) (expectedLength - ciphertextRead);
int bytesToRead = Integer.min(readableBytes, expectedRemaining);
// The smallest ciphertext size is 16 bytes for the auth tag
((Buffer) ciphertextBuffer).limit(((Buffer) ciphertextBuffer).position() + bytesToRead);
((Buffer) ciphertextBuffer).limit(
((Buffer) ciphertextBuffer).position() + bytesToRead);
ciphertextNettyBuf.readBytes(ciphertextBuffer);
ciphertextRead += bytesToRead;
// Check if this is the last segment
Expand Down

0 comments on commit af0d1ee

Please sign in to comment.