From 999e34e849656eca11398433be5baf6c967d97c2 Mon Sep 17 00:00:00 2001 From: Xavier Le Vourch Date: Fri, 19 Oct 2007 19:21:30 +0000 Subject: [PATCH] code cleanup: unused imports git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5563 51baf565-9d33-0410-a72c-fc3788e3496d --- .../test/net/sourceforge/pmd/symboltable/AcceptanceTest.java | 2 -- pmd/rulesets/internal/dogfood.xml | 2 ++ pmd/src/net/sourceforge/pmd/renderers/XSLTRenderer.java | 2 -- pmd/src/net/sourceforge/pmd/typeresolution/TypeHelper.java | 2 -- 4 files changed, 2 insertions(+), 6 deletions(-) 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 {