maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1608900 - in /maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec: CheckstyleCheckerListener.java CheckstyleReportListener.java DefaultCheckstyleExecutor.java
Date Tue, 08 Jul 2014 19:12:36 GMT
Author: hboutemy
Date: Tue Jul  8 19:12:36 2014
New Revision: 1608900

URL: http://svn.apache.org/r1608900
Log:
renamed CheckstyleReportListener to CheckstyleCheckerListener to better match the use

Added:
    maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/CheckstyleCheckerListener.java
      - copied, changed from r1608180, maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/CheckstyleReportListener.java
Removed:
    maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/CheckstyleReportListener.java
Modified:
    maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/DefaultCheckstyleExecutor.java

Copied: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/CheckstyleCheckerListener.java
(from r1608180, maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/CheckstyleReportListener.java)
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/CheckstyleCheckerListener.java?p2=maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/CheckstyleCheckerListener.java&p1=maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/CheckstyleReportListener.java&r1=1608180&r2=1608900&rev=1608900&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/CheckstyleReportListener.java
(original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/CheckstyleCheckerListener.java
Tue Jul  8 19:12:36 2014
@@ -38,7 +38,7 @@ import java.util.List;
  * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
  * @version $Id$
  */
-public class CheckstyleReportListener
+public class CheckstyleCheckerListener
     extends AutomaticBean
     implements AuditListener
 {
@@ -57,7 +57,7 @@ public class CheckstyleReportListener
     /**
      * @param sourceDirectory assume that is <code>sourceDirectory</code> is
a not null directory and exists
      */
-    public CheckstyleReportListener( File sourceDirectory )
+    public CheckstyleCheckerListener( File sourceDirectory )
     {
         this.sourceDirectories = new ArrayList<File>();
         this.sourceDirectories.add( sourceDirectory );
@@ -67,7 +67,7 @@ public class CheckstyleReportListener
      * @param configuration checkstyle configuration
      * @since 2.5
      */
-    public CheckstyleReportListener( File sourceDirectory, Configuration configuration )
+    public CheckstyleCheckerListener( File sourceDirectory, Configuration configuration )
     {
         this.sourceDirectories = new ArrayList<File>();
         this.sourceDirectories.add( sourceDirectory );
@@ -78,7 +78,7 @@ public class CheckstyleReportListener
      * @param configuration checkstyle configuration
      * @since 2.5
      */
-    public CheckstyleReportListener( Configuration configuration )
+    public CheckstyleCheckerListener( Configuration configuration )
     {
         this.sourceDirectories = new ArrayList<File>();
         this.checkstyleConfiguration = configuration;

Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/DefaultCheckstyleExecutor.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/DefaultCheckstyleExecutor.java?rev=1608900&r1=1608899&r2=1608900&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/DefaultCheckstyleExecutor.java
(original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/DefaultCheckstyleExecutor.java
Tue Jul  8 19:12:36 2014
@@ -197,7 +197,7 @@ public class DefaultCheckstyleExecutor
             checker.addListener( request.getConsoleListener() );
         }
 
-        CheckstyleReportListener checkerListener = new CheckstyleReportListener( configuration
);
+        CheckstyleCheckerListener checkerListener = new CheckstyleCheckerListener( configuration
);
         if ( request.isAggregate() )
         {
             for ( MavenProject childProject : request.getReactorProjects() )
@@ -252,7 +252,7 @@ public class DefaultCheckstyleExecutor
         return checkerListener.getResults();
     }
 
-    protected void addSourceDirectory( CheckstyleReportListener sinkListener, File sourceDirectory,
+    protected void addSourceDirectory( CheckstyleCheckerListener sinkListener, File sourceDirectory,
                                        File testSourceDirectory, List<Resource> resources,
                                        CheckstyleExecutorRequest request )
     {



Mime
View raw message