forked from phoedos/pmd
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:
@ -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;
|
||||
|
||||
|
@ -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"/>
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user