code cleanup: unused imports

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5563 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2007-10-19 19:21:30 +00:00
parent 86df2dc3dd
commit 999e34e849
4 changed files with 2 additions and 6 deletions

View File

@ -12,9 +12,7 @@ import net.sourceforge.pmd.ast.ASTCatchStatement;
import net.sourceforge.pmd.ast.ASTEqualityExpression;
import net.sourceforge.pmd.ast.ASTInitializer;
import net.sourceforge.pmd.ast.ASTMethodDeclaration;
import net.sourceforge.pmd.ast.ASTVariableDeclaratorId;
import net.sourceforge.pmd.ast.SimpleNode;
import net.sourceforge.pmd.symboltable.NameOccurrence;
import net.sourceforge.pmd.symboltable.Scope;
import net.sourceforge.pmd.symboltable.VariableNameDeclaration;

View File

@ -24,6 +24,8 @@ Rules to check PMD itself
<rule ref="rulesets/design.xml/SingularField"/>
<rule ref="rulesets/imports.xml"/>
<rule ref="rulesets/strictexception.xml/AvoidRethrowingException"/>
<rule ref="rulesets/strictexception.xml/AvoidCatchingThrowable"/>

View File

@ -24,8 +24,6 @@ import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;
import net.sourceforge.pmd.ant.PMDTask;
import org.w3c.dom.Document;
import org.xml.sax.SAXException;

View File

@ -3,10 +3,8 @@ package net.sourceforge.pmd.typeresolution;
import java.util.Arrays;
import java.util.List;
import net.sourceforge.pmd.ast.ASTClassOrInterfaceType;
import net.sourceforge.pmd.ast.SimpleNode;
import net.sourceforge.pmd.ast.TypeNode;
import net.sourceforge.pmd.jaxen.Attribute;
import net.sourceforge.pmd.symboltable.VariableNameDeclaration;
public class TypeHelper {