diff --git a/pmd/src/net/sourceforge/pmd/Namespace.java b/pmd/src/net/sourceforge/pmd/Namespace.java index 94f3658bb9..d0fc9f01ba 100644 --- a/pmd/src/net/sourceforge/pmd/Namespace.java +++ b/pmd/src/net/sourceforge/pmd/Namespace.java @@ -36,7 +36,6 @@ import java.util.Stack; * That way the scopes work out nicely and inner classes can be nested arbitrarily deep. */ public class Namespace { -private int x; private Stack tables = new Stack(); public void addTable() { diff --git a/pmd/src/net/sourceforge/pmd/SymbolTable.java b/pmd/src/net/sourceforge/pmd/SymbolTable.java index b66c546b85..b6b8590505 100644 --- a/pmd/src/net/sourceforge/pmd/SymbolTable.java +++ b/pmd/src/net/sourceforge/pmd/SymbolTable.java @@ -5,15 +5,12 @@ */ package net.sourceforge.pmd; -import java.util.HashMap; -import java.util.List; -import java.util.ArrayList; -import java.util.Iterator; +import java.util.*; public class SymbolTable { private SymbolTable parent; - private HashMap usageCounts = new HashMap(); + private Map usageCounts = new HashMap(); private static final Integer ZERO = new Integer(0); private static final Integer ONE = new Integer(1);