Skip to content

Commit eacaa49

Browse files
committed
[SPARK-47172][3.5] Fixing lint errors
1 parent a12ebae commit eacaa49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/network-common/src/main/java/org/apache/spark/network/crypto/GcmTransportCipher.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ public void channelRead(ChannelHandlerContext ctx, Object ciphertextMessage)
383383
int expectedRemaining = (int) (expectedLength - ciphertextRead);
384384
int bytesToRead = Integer.min(readableBytes, expectedRemaining);
385385
// The smallest ciphertext size is 16 bytes for the auth tag
386-
((Buffer) ciphertextBuffer).limit(((Buffer) ciphertextBuffer).position() + bytesToRead);
386+
((Buffer) ciphertextBuffer).limit(
387+
((Buffer) ciphertextBuffer).position() + bytesToRead);
387388
ciphertextNettyBuf.readBytes(ciphertextBuffer);
388389
ciphertextRead += bytesToRead;
389390
// Check if this is the last segment

0 commit comments

Comments
 (0)