mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-13 07:13:37 +08:00
style: include RV_RETURN_VALUE_IGNORED
(#5152)
This commit is contained in:
@ -104,9 +104,6 @@
|
|||||||
<Match>
|
<Match>
|
||||||
<Bug pattern="NP_IMMEDIATE_DEREFERENCE_OF_READLINE" />
|
<Bug pattern="NP_IMMEDIATE_DEREFERENCE_OF_READLINE" />
|
||||||
</Match>
|
</Match>
|
||||||
<Match>
|
|
||||||
<Bug pattern="RV_RETURN_VALUE_IGNORED" />
|
|
||||||
</Match>
|
|
||||||
<Match>
|
<Match>
|
||||||
<Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS" />
|
<Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS" />
|
||||||
</Match>
|
</Match>
|
||||||
|
@ -144,7 +144,6 @@ public final class HillCipher {
|
|||||||
|
|
||||||
// Function to implement Hill Cipher
|
// Function to implement Hill Cipher
|
||||||
static void hillCipher(String message) {
|
static void hillCipher(String message) {
|
||||||
message.toUpperCase();
|
|
||||||
System.out.println("What do you want to process from the message?");
|
System.out.println("What do you want to process from the message?");
|
||||||
System.out.println("Press 1: To Encrypt");
|
System.out.println("Press 1: To Encrypt");
|
||||||
System.out.println("Press 2: To Decrypt");
|
System.out.println("Press 2: To Decrypt");
|
||||||
|
Reference in New Issue
Block a user