Fix default alphabetSize of NFARunAutomaton (#559)

This commit is contained in:
Patrick Zhai 2021-12-21 00:15:38 -08:00 committed by GitHub
parent 0a28fd8b9e
commit 8f99c12113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class NFARunAutomaton implements ByteRunnable, TransitionAccessor {
* better efficiency * better efficiency
*/ */
public NFARunAutomaton(Automaton automaton) { public NFARunAutomaton(Automaton automaton) {
this(automaton, Character.MAX_CODE_POINT); this(automaton, Character.MAX_CODE_POINT + 1);
} }
/** /**