Skip to content

Commit 4c3ba7c

Browse files
committed
Fix
1 parent 1431e7f commit 4c3ba7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class BaconianCipher {
1818

1919
static {
2020
// Initialize the Baconian cipher mappings
21-
String[] baconianAlphabet = {"AAAAA", "AAAAB", "AAABA", "AAABB", "AABAA", "AABAB", "AABBA", "AABBB", "ABAAA", "ABAAB", "ABABA", "ABABB", "ABBAA", "ABBAB", "ABBBA", "ABBBB", "BAAAA", "BAAAB", "BAABA", "BAABB", "BABAA", "BABAB", "BABBA", "BABBB", "BBAAA", "BBAAB"};
21+
String[] baconianAlphabet = {"AAAAA", "AAAAB", "AAABA", "AAABB", "AABAA", "AABAB", "AABBA", "AABBB", "ABAAA", "ABAAB", "ABABA", "ABABB", "ABBAA", "ABBAB", "ABBBA", "ABBBB", "BAAAA", "BAAAB", "BAABA", "BAABB", "BABAA", "BABAB", "BABBA", "BABBB", "BBAAA", "BBAAB"};
2222
char letter = 'A';
2323
for (String code : baconianAlphabet) {
2424
BACONIAN_MAP.put(letter, code);

src/test/java/com/thealgorithms/ciphers/BaconianCipherTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class BaconianCipherTest {
88

9-
BaconianCipher baconianCipher = new BaconianCipher();
9+
BaconianCipher baconianCipher = new BaconianCipher();
1010

1111
@Test
1212
void baconianCipherEncryptTest() {

0 commit comments

Comments
 (0)