maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject [maven-shared-incremental] 03/44: o Deleted ArrayUtils since there was no concrete counterpart in plexus and it was only being used a couple of places in m-shared
Date Sat, 09 Dec 2017 17:24:00 GMT
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 5847d656f43e02a16193b700ede1bee632d4320d
Author: Kristian Rosenvold <krosenvold@apache.org>
AuthorDate: Mon Oct 15 19:01:46 2012 +0000

    o Deleted ArrayUtils since there was no concrete counterpart in plexus and it was only
being used a couple of places in m-shared
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1398456 13f79535-47bb-0310-9956-ffa450edef68
---
 .../apache/maven/shared/incremental/IncrementalBuildHelper.java    | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
index 35dd105..25a95f1 100644
--- a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
@@ -24,7 +24,6 @@ import org.apache.maven.execution.MavenSession;
 import org.apache.maven.plugin.MojoExecution;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.project.MavenProject;
-import org.apache.maven.shared.utils.ArrayUtils;
 import org.apache.maven.shared.utils.io.DirectoryScanResult;
 import org.apache.maven.shared.utils.io.DirectoryScanner;
 import org.apache.maven.shared.utils.io.FileUtils;
@@ -66,7 +65,7 @@ public class IncrementalBuildHelper
      * Once the {@link #beforeRebuildExecution(java.io.File)} gots called
      * this will contain the list of files in the build directory.
      */
-    private String[] filesBeforeAction = ArrayUtils.EMPTY_STRING_ARRAY;
+    private String[] filesBeforeAction = new String[0];
 
     public IncrementalBuildHelper( MojoExecution mojoExecution, MavenSession mavenSession
)
     {
@@ -171,7 +170,7 @@ public class IncrementalBuildHelper
         File mojoConfigBase = getMojoStatusDirectory();
         File mojoConfigFile = new File( mojoConfigBase, INPUT_FILES_LST_FILENAME );
 
-        String[] oldInputFiles = ArrayUtils.EMPTY_STRING_ARRAY;
+        String[] oldInputFiles = new String[0];
 
         if ( mojoConfigFile.exists() )
         {
@@ -223,7 +222,7 @@ public class IncrementalBuildHelper
         File mojoConfigBase = getMojoStatusDirectory();
         File mojoConfigFile = new File( mojoConfigBase, INPUT_FILES_LST_FILENAME );
 
-        String[] oldInputFiles = ArrayUtils.EMPTY_STRING_ARRAY;
+        String[] oldInputFiles = new String[0];
 
         if ( mojoConfigFile.exists() )
         {

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <commits@maven.apache.org>.

Mime
View raw message