diff --git a/runtime/Java/src/org/antlr/v4/runtime/BaseRecognizer.java b/runtime/Java/src/org/antlr/v4/runtime/BaseRecognizer.java index a85c02c24..68d3351f9 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/BaseRecognizer.java +++ b/runtime/Java/src/org/antlr/v4/runtime/BaseRecognizer.java @@ -278,11 +278,11 @@ public abstract class BaseRecognizer extends Recognizer { /** A convenience method for use most often with template rewrites. * Convert a List to List */ - public List toStrings(List tokens) { + public List toStrings(List tokens) { if ( tokens==null ) return null; - List strings = new ArrayList(tokens.size()); + List strings = new ArrayList(tokens.size()); for (int i=0; i