package org.ahocorasick.trie;
import java.util.*;
public class State {
private final int depth;
private final State rootState;
<BUG>private Map<Character,State> success = new HashMap<Character, State>();

private State failure = null;
private Set<String> emits = null;
public State() {</BUG>
this(0);

package org.ahocorasick.trie;
import java.util.*;
public class State {
private final int depth;
private final State rootState;
private final Map<Character,State> success = new HashMap<>();
private State failure;
private Set<String> emits;
public State() {
this(0);
