Skip to content

Commit

Permalink
Do not do another pass of Query Automaton Minimization (apache#8237)
Browse files Browse the repository at this point in the history
  • Loading branch information
atris authored Feb 22, 2022
1 parent 21632da commit fa0db64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ static RegExp makeInterval(int min, int max, int digits) {
* Same as <code>toAutomaton(null)</code> (empty automaton map).
*/
public Automaton toAutomaton() {
return toAutomatonAllowMutate(null, null, true);
return toAutomatonAllowMutate(null, null, false);
}

private Automaton toAutomatonAllowMutate(Map<String, Automaton> automata, AutomatonProvider automatonProvider,
Expand Down

0 comments on commit fa0db64

Please sign in to comment.