From b022eaf2447dac4e206155a68b4cc430ddd2b362 Mon Sep 17 00:00:00 2001 From: Xavier Le Vourch Date: Thu, 26 Oct 2006 18:28:36 +0000 Subject: [PATCH] PMD on PMD: import cleanup git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4750 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/regress/test/net/sourceforge/pmd/cpd/XMLRendererTest.java | 1 - .../test/net/sourceforge/pmd/renderers/HTMLRendererTest.java | 2 -- .../net/sourceforge/pmd/properties/AbstractPMDProperty.java | 4 ---- pmd/src/net/sourceforge/pmd/properties/TypeProperty.java | 1 - .../sourceforge/pmd/symboltable/MethodNameDeclaration.java | 1 - 5 files changed, 9 deletions(-) diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/XMLRendererTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/XMLRendererTest.java index 15ded4b827..277fcf3812 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/XMLRendererTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/XMLRendererTest.java @@ -4,7 +4,6 @@ package test.net.sourceforge.pmd.cpd; import junit.framework.TestCase; -import net.sourceforge.pmd.PMD; import net.sourceforge.pmd.cpd.Match; import net.sourceforge.pmd.cpd.Renderer; import net.sourceforge.pmd.cpd.TokenEntry; diff --git a/pmd/regress/test/net/sourceforge/pmd/renderers/HTMLRendererTest.java b/pmd/regress/test/net/sourceforge/pmd/renderers/HTMLRendererTest.java index ef8243ce33..53fcaf7e9a 100644 --- a/pmd/regress/test/net/sourceforge/pmd/renderers/HTMLRendererTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/renderers/HTMLRendererTest.java @@ -1,9 +1,7 @@ package test.net.sourceforge.pmd.renderers; import net.sourceforge.pmd.PMD; -import net.sourceforge.pmd.Report; import net.sourceforge.pmd.Report.ProcessingError; -import net.sourceforge.pmd.ast.ParseException; import net.sourceforge.pmd.renderers.AbstractRenderer; import net.sourceforge.pmd.renderers.HTMLRenderer; diff --git a/pmd/src/net/sourceforge/pmd/properties/AbstractPMDProperty.java b/pmd/src/net/sourceforge/pmd/properties/AbstractPMDProperty.java index 754bb0c572..a6530ac1ce 100644 --- a/pmd/src/net/sourceforge/pmd/properties/AbstractPMDProperty.java +++ b/pmd/src/net/sourceforge/pmd/properties/AbstractPMDProperty.java @@ -1,9 +1,5 @@ package net.sourceforge.pmd.properties; -import java.util.Collections; -import java.util.HashMap; -import java.util.Map; - import net.sourceforge.pmd.PropertyDescriptor; import net.sourceforge.pmd.Rule; diff --git a/pmd/src/net/sourceforge/pmd/properties/TypeProperty.java b/pmd/src/net/sourceforge/pmd/properties/TypeProperty.java index be4629c99a..38fa934ad7 100644 --- a/pmd/src/net/sourceforge/pmd/properties/TypeProperty.java +++ b/pmd/src/net/sourceforge/pmd/properties/TypeProperty.java @@ -1,7 +1,6 @@ package net.sourceforge.pmd.properties; import net.sourceforge.pmd.util.ClassUtil; -import net.sourceforge.pmd.util.CollectionUtil; /** diff --git a/pmd/src/net/sourceforge/pmd/symboltable/MethodNameDeclaration.java b/pmd/src/net/sourceforge/pmd/symboltable/MethodNameDeclaration.java index aea152e839..177ea1783d 100644 --- a/pmd/src/net/sourceforge/pmd/symboltable/MethodNameDeclaration.java +++ b/pmd/src/net/sourceforge/pmd/symboltable/MethodNameDeclaration.java @@ -7,7 +7,6 @@ import net.sourceforge.pmd.ast.ASTFormalParameter; import net.sourceforge.pmd.ast.ASTFormalParameters; import net.sourceforge.pmd.ast.ASTMethodDeclarator; import net.sourceforge.pmd.ast.ASTPrimitiveType; -import net.sourceforge.pmd.ast.ASTType; import net.sourceforge.pmd.ast.SimpleNode; public class MethodNameDeclaration extends AbstractNameDeclaration {