Skip to content

Commit a46a5a0

Browse files
samuelfacvil02
andauthored
Update src/main/java/com/thealgorithms/others/StringMatchFiniteAutomata.java
Co-authored-by: Piotr Idzik <[email protected]>
1 parent 1b5115b commit a46a5a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/others/StringMatchFiniteAutomata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
public final class StringMatchFiniteAutomata {
1212

1313
// Constants
14-
private static final int CHARS = 256; // Total number of characters in the input alphabet
14+
private static final int CHARS = Character.MAX_VALUE + 1; // Total number of characters in the input alphabet
1515

1616
// Private constructor to prevent instantiation
1717
private StringMatchFiniteAutomata() {

0 commit comments

Comments
 (0)