remove unused type param

This commit is contained in:
Terence Parr 2012-05-19 13:06:27 -07:00
parent c590ba8fd8
commit 7be2ba9d42
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public class Trees {
return buf.toString(); return buf.toString();
} }
public static <Symbol> String getNodeText(Tree t, Parser recog) { public static String getNodeText(Tree t, Parser recog) {
if ( recog!=null ) { if ( recog!=null ) {
if ( t instanceof ParseTree.RuleNode ) { if ( t instanceof ParseTree.RuleNode ) {
int ruleIndex = ((ParseTree.RuleNode)t).getRuleContext().getRuleIndex(); int ruleIndex = ((ParseTree.RuleNode)t).getRuleContext().getRuleIndex();