fixed scoping problem with new symbol table code

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1029 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2002-09-30 20:10:45 +00:00
parent 0a534defd7
commit 4a0cf650d4

View File

@ -23,15 +23,6 @@ public class SymbolTableBuilder extends JavaParserVisitorAdapter {
return table;
}
/**
* Skip interfaces because they don't have local variables.
*/
/*
public Object visit(ASTInterfaceDeclaration node, Object data) {
return data;
}
*/
// these AST types trigger a new scope
public Object visit(ASTBlock node, Object data){return openScope(node);}
public Object visit(ASTConstructorDeclaration node, Object data){return openScope(node);}