From b6d8ff9234755dffeb9a9d95c32813081fa93612 Mon Sep 17 00:00:00 2001 From: parrt Date: Thu, 10 Nov 2011 12:16:28 -0800 Subject: [PATCH] tweak [git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9286] --- tool/src/org/antlr/v4/misc/Utils.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tool/src/org/antlr/v4/misc/Utils.java b/tool/src/org/antlr/v4/misc/Utils.java index 80dd85ba9..bdacecf7d 100644 --- a/tool/src/org/antlr/v4/misc/Utils.java +++ b/tool/src/org/antlr/v4/misc/Utils.java @@ -31,11 +31,7 @@ package org.antlr.v4.misc; import org.antlr.v4.tool.ast.GrammarAST; -import java.lang.reflect.Method; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Iterator; -import java.util.List; +import java.util.*; /** */ public class Utils { @@ -176,7 +172,7 @@ public class Utils { if ( list==null ) return null; List b = new ArrayList(); for (From f : list) { - b.add(method.exec(f)); + b.add(selector.exec(f)); } return b; }