fixing violations of pnd rules
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@556 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -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() {
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user