diff --git a/runtime/Java/src/org/antlr/v4/runtime/tree/TreeFilter.java b/runtime/Java/src/org/antlr/v4/runtime/tree/TreeFilter.java index ff81577d7..38a8b29c8 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/tree/TreeFilter.java +++ b/runtime/Java/src/org/antlr/v4/runtime/tree/TreeFilter.java @@ -128,6 +128,6 @@ public class TreeFilter extends TreeParser { // methods the downup strategy uses to do the up and down rules. // to override, just define tree grammar rule topdown and turn on // filter=true. - public void topdown() throws RecognitionException {;} - public void bottomup() throws RecognitionException {;} + public void topdown() throws RecognitionException {} + public void bottomup() throws RecognitionException {} }