Author: olamy Date: Wed Nov 11 22:15:55 2009 New Revision: 835097 URL: http://svn.apache.org/viewvc?rev=835097&view=rev Log: remove unused imports.
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java?rev=835097&r1=835096&r2=835097&view=diff ============================================================================== --- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java (original) +++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java Wed Nov 11 22:15:55 2009 @@ -19,44 +19,6 @@ * under the License. */ -import com.puppycrawl.tools.checkstyle.Checker; -import com.puppycrawl.tools.checkstyle.ConfigurationLoader; -import com.puppycrawl.tools.checkstyle.DefaultConfiguration; -import com.puppycrawl.tools.checkstyle.DefaultLogger; -import com.puppycrawl.tools.checkstyle.PackageNamesLoader; -import com.puppycrawl.tools.checkstyle.PropertiesExpander; -import com.puppycrawl.tools.checkstyle.XMLLogger; -import com.puppycrawl.tools.checkstyle.api.AuditListener; -import com.puppycrawl.tools.checkstyle.api.CheckstyleException; -import com.puppycrawl.tools.checkstyle.api.Configuration; -import com.puppycrawl.tools.checkstyle.api.FilterSet; -import com.puppycrawl.tools.checkstyle.api.SeverityLevel; -import com.puppycrawl.tools.checkstyle.filters.SuppressionsLoader; -import org.apache.maven.artifact.DependencyResolutionRequiredException; -import org.apache.maven.doxia.siterenderer.Renderer; -import org.apache.maven.doxia.tools.SiteTool; -import org.apache.maven.model.ReportPlugin; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.checkstyle.rss.CheckstyleRssGenerator; -import org.apache.maven.plugin.checkstyle.rss.CheckstyleRssGeneratorRequest; -import org.apache.maven.project.MavenProject; -import org.apache.maven.reporting.AbstractMavenReport; -import org.apache.maven.reporting.MavenReportException; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.context.Context; -import org.apache.velocity.exception.ResourceNotFoundException; -import org.apache.velocity.exception.VelocityException; -import org.codehaus.plexus.component.repository.exception.ComponentLookupException; -import org.codehaus.plexus.personality.plexus.lifecycle.phase.ServiceLocator; -import org.codehaus.plexus.personality.plexus.lifecycle.phase.Serviceable; -import org.codehaus.plexus.resource.ResourceManager; -import org.codehaus.plexus.resource.loader.FileResourceCreationException; -import org.codehaus.plexus.resource.loader.FileResourceLoader; -import org.codehaus.plexus.util.FileUtils; -import org.codehaus.plexus.util.PathTool; -import org.codehaus.plexus.util.StringUtils; -import org.codehaus.plexus.velocity.VelocityComponent; - import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; @@ -78,7 +40,35 @@ import java.util.Map; import java.util.Properties; import java.util.ResourceBundle; -import java.util.Set; + +import org.apache.maven.artifact.DependencyResolutionRequiredException; +import org.apache.maven.doxia.siterenderer.Renderer; +import org.apache.maven.doxia.tools.SiteTool; +import org.apache.maven.model.ReportPlugin; +import org.apache.maven.plugin.checkstyle.rss.CheckstyleRssGenerator; +import org.apache.maven.plugin.checkstyle.rss.CheckstyleRssGeneratorRequest; +import org.apache.maven.project.MavenProject; +import org.apache.maven.reporting.AbstractMavenReport; +import org.apache.maven.reporting.MavenReportException; +import org.codehaus.plexus.resource.ResourceManager; +import org.codehaus.plexus.resource.loader.FileResourceCreationException; +import org.codehaus.plexus.resource.loader.FileResourceLoader; +import org.codehaus.plexus.util.FileUtils; +import org.codehaus.plexus.util.PathTool; +import org.codehaus.plexus.util.StringUtils; + +import com.puppycrawl.tools.checkstyle.Checker; +import com.puppycrawl.tools.checkstyle.ConfigurationLoader; +import com.puppycrawl.tools.checkstyle.DefaultConfiguration; +import com.puppycrawl.tools.checkstyle.DefaultLogger; +import com.puppycrawl.tools.checkstyle.PackageNamesLoader; +import com.puppycrawl.tools.checkstyle.PropertiesExpander; +import com.puppycrawl.tools.checkstyle.XMLLogger; +import com.puppycrawl.tools.checkstyle.api.AuditListener; +import com.puppycrawl.tools.checkstyle.api.CheckstyleException; +import com.puppycrawl.tools.checkstyle.api.Configuration; +import com.puppycrawl.tools.checkstyle.api.FilterSet; +import com.puppycrawl.tools.checkstyle.filters.SuppressionsLoader; /** * Perform a Checkstyle analysis, and generate a report on violations. Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java?rev=835097&r1=835096&r2=835097&view=diff ============================================================================== --- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java (original) +++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java Wed Nov 11 22:15:55 2009 @@ -19,18 +19,6 @@ * under the License. */ -import com.puppycrawl.tools.checkstyle.Checker; -import com.puppycrawl.tools.checkstyle.api.AuditEvent; -import com.puppycrawl.tools.checkstyle.api.CheckstyleException; -import com.puppycrawl.tools.checkstyle.api.Configuration; -import com.puppycrawl.tools.checkstyle.api.SeverityLevel; - -import org.apache.maven.doxia.sink.Sink; -import org.apache.maven.doxia.tools.SiteTool; -import org.apache.maven.plugin.logging.Log; -import org.apache.maven.plugin.logging.SystemStreamLog; -import org.codehaus.plexus.util.StringUtils; - import java.io.File; import java.util.ArrayList; import java.util.Arrays; @@ -39,6 +27,17 @@ import java.util.List; import java.util.ResourceBundle; +import org.apache.maven.doxia.sink.Sink; +import org.apache.maven.doxia.tools.SiteTool; +import org.apache.maven.plugin.logging.Log; +import org.apache.maven.plugin.logging.SystemStreamLog; +import org.codehaus.plexus.util.StringUtils; + +import com.puppycrawl.tools.checkstyle.api.AuditEvent; +import com.puppycrawl.tools.checkstyle.api.CheckstyleException; +import com.puppycrawl.tools.checkstyle.api.Configuration; +import com.puppycrawl.tools.checkstyle.api.SeverityLevel; + /** * Generate a report based on CheckstyleResults. *