From be38886d4361a4d8414a16031da27c0e0e62fe41 Mon Sep 17 00:00:00 2001
From: StarDxxx <36352922+StarDxxx@users.noreply.github.com>
Date: Sat, 8 Jun 2024 15:36:42 +0800
Subject: [PATCH] style: enable `OperatorWrap` in checkstyle (#5212)
---
checkstyle.xml | 2 +-
src/main/java/com/thealgorithms/ciphers/AES.java | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/checkstyle.xml b/checkstyle.xml
index 5ada9361d..4078ffbbf 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -139,7 +139,7 @@
-
+
diff --git a/src/main/java/com/thealgorithms/ciphers/AES.java b/src/main/java/com/thealgorithms/ciphers/AES.java
index cd04395e1..5d614afbe 100644
--- a/src/main/java/com/thealgorithms/ciphers/AES.java
+++ b/src/main/java/com/thealgorithms/ciphers/AES.java
@@ -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 **");