diff --git a/pmd/regress/test/net/sourceforge/pmd/symboltable/AcceptanceTest.java b/pmd/regress/test/net/sourceforge/pmd/symboltable/AcceptanceTest.java index 23c7dfdfad..97c5f04d3c 100644 --- a/pmd/regress/test/net/sourceforge/pmd/symboltable/AcceptanceTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/symboltable/AcceptanceTest.java @@ -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; diff --git a/pmd/rulesets/internal/dogfood.xml b/pmd/rulesets/internal/dogfood.xml index 394da9e255..5e55ceef48 100644 --- a/pmd/rulesets/internal/dogfood.xml +++ b/pmd/rulesets/internal/dogfood.xml @@ -24,6 +24,8 @@ Rules to check PMD itself + + diff --git a/pmd/src/net/sourceforge/pmd/renderers/XSLTRenderer.java b/pmd/src/net/sourceforge/pmd/renderers/XSLTRenderer.java index 334ef26fbd..2d5f721091 100644 --- a/pmd/src/net/sourceforge/pmd/renderers/XSLTRenderer.java +++ b/pmd/src/net/sourceforge/pmd/renderers/XSLTRenderer.java @@ -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; diff --git a/pmd/src/net/sourceforge/pmd/typeresolution/TypeHelper.java b/pmd/src/net/sourceforge/pmd/typeresolution/TypeHelper.java index 83fa89b879..85e4f0c6ab 100644 --- a/pmd/src/net/sourceforge/pmd/typeresolution/TypeHelper.java +++ b/pmd/src/net/sourceforge/pmd/typeresolution/TypeHelper.java @@ -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 {