Skip to content

Commit 50f0985

Browse files
committed
This method needs to be overridden by any useful subclass, so make it abstract
1 parent 8659653 commit 50f0985

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/edu/stanford/nlp/trees/tregex/TregexMatcher.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ void resetChildIter(Tree tree) {
8888
/**
8989
* Resets the matcher to restart search for matching subexpressions
9090
*/
91-
void resetChildIter() {
92-
}
91+
abstract void resetChildIter();
9392

9493
/**
9594
* Does the pattern match the tree? It's actually closer to java.util.regex's

0 commit comments

Comments
 (0)