forked from jasder/antlr
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9286]
This commit is contained in:
parent
26d5d5c9c0
commit
b6d8ff9234
|
@ -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<To> b = new ArrayList<To>();
|
||||
for (From f : list) {
|
||||
b.add(method.exec(f));
|
||||
b.add(selector.exec(f));
|
||||
}
|
||||
return b;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue