maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khmarba...@apache.org
Subject svn commit: r1634336 - /maven/plugins/trunk/maven-clean-plugin/src/main/java/org/apache/maven/plugin/clean/Cleaner.java
Date Sun, 26 Oct 2014 14:28:00 GMT
Author: khmarbaise
Date: Sun Oct 26 14:28:00 2014
New Revision: 1634336

URL: http://svn.apache.org/r1634336
Log:
- Fixed checkstyle reported errors.

Modified:
    maven/plugins/trunk/maven-clean-plugin/src/main/java/org/apache/maven/plugin/clean/Cleaner.java

Modified: maven/plugins/trunk/maven-clean-plugin/src/main/java/org/apache/maven/plugin/clean/Cleaner.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clean-plugin/src/main/java/org/apache/maven/plugin/clean/Cleaner.java?rev=1634336&r1=1634335&r2=1634336&view=diff
==============================================================================
--- maven/plugins/trunk/maven-clean-plugin/src/main/java/org/apache/maven/plugin/clean/Cleaner.java
(original)
+++ maven/plugins/trunk/maven-clean-plugin/src/main/java/org/apache/maven/plugin/clean/Cleaner.java
Sun Oct 26 14:28:00 2014
@@ -225,7 +225,7 @@ class Cleaner
                     System.gc();
                 }
 
-                int[] delays = { 50, 250, 750 };
+                final int[] delays = { 50, 250, 750 };
                 for ( int i = 0; !deleted && i < delays.length; i++ )
                 {
                     try
@@ -267,9 +267,9 @@ class Cleaner
     private static class Result
     {
 
-        public int failures;
+        private int failures;
 
-        public boolean excluded;
+        private boolean excluded;
 
         public void update( Result result )
         {
@@ -279,10 +279,10 @@ class Cleaner
 
     }
 
-    private static interface Logger
+    private interface Logger
     {
 
-        public void log( CharSequence message );
+        void log( CharSequence message );
 
     }
 



Mime
View raw message