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