style: enable OperatorWrap
in checkstyle (#5212)
This commit is contained in:
parent
41efe7fbbc
commit
be38886d43
@ -139,7 +139,7 @@
|
||||
<module name="MethodParamPad"/>
|
||||
<!-- TODO <module name="NoWhitespaceAfter"/> -->
|
||||
<module name="NoWhitespaceBefore"/>
|
||||
<!-- TODO <module name="OperatorWrap"/> -->
|
||||
<module name="OperatorWrap"/>
|
||||
<!-- TODO <module name="ParenPad"/> -->
|
||||
<module name="TypecastParenPad"/>
|
||||
<module name="WhitespaceAfter"/>
|
||||
|
@ -2756,8 +2756,8 @@ public final class AES {
|
||||
in = input.nextLine();
|
||||
BigInteger encryptionKey = new BigInteger(in, 16);
|
||||
System.out.println(
|
||||
"The encrypted message is: \n" +
|
||||
encrypt(plaintext, encryptionKey).toString(16)
|
||||
"The encrypted message is: \n"
|
||||
+ encrypt(plaintext, encryptionKey).toString(16)
|
||||
);
|
||||
}
|
||||
case 'D', 'd' -> {
|
||||
@ -2772,8 +2772,8 @@ public final class AES {
|
||||
in = input.nextLine();
|
||||
BigInteger decryptionKey = new BigInteger(in, 16);
|
||||
System.out.println(
|
||||
"The deciphered message is:\n" +
|
||||
decrypt(ciphertext, decryptionKey).toString(16)
|
||||
"The deciphered message is:\n"
|
||||
+ decrypt(ciphertext, decryptionKey).toString(16)
|
||||
);
|
||||
}
|
||||
default -> System.out.println("** End **");
|
||||
|
Loading…
Reference in New Issue
Block a user