Skip to content

Commit bf41f22

Browse files
committed
style: remove redundant main method
1 parent e44c110 commit bf41f22

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/main/java/com/thealgorithms/ciphers/AffineCipher.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,4 @@ static String decryptCipher(String cipher) {
8484

8585
return msg.toString();
8686
}
87-
88-
// Driver code
89-
public static void main(String[] args) {
90-
String msg = "AFFINE CIPHER";
91-
92-
// Calling encryption function
93-
String cipherText = encryptMessage(msg.toCharArray());
94-
System.out.println("Encrypted Message is : " + cipherText);
95-
96-
// Calling Decryption function
97-
System.out.println("Decrypted Message is: " + decryptCipher(cipherText));
98-
}
9987
}

0 commit comments

Comments
 (0)