mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 11:05:29 +00:00
make determinize public, its already exposed via e.g. Automaton.determinize()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329016 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
63700ceef7
commit
0391b6a213
@ -583,7 +583,7 @@ final public class BasicOperations {
|
|||||||
* <p>
|
* <p>
|
||||||
* Worst case complexity: exponential in number of states.
|
* Worst case complexity: exponential in number of states.
|
||||||
*/
|
*/
|
||||||
static void determinize(Automaton a) {
|
public static void determinize(Automaton a) {
|
||||||
if (a.deterministic || a.isSingleton()) {
|
if (a.deterministic || a.isSingleton()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user