You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/20 09:26:38 UTC

[maven-acr-plugin] 25/45: Oh, look at that button. Does that convert everything to correct java5 ??

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to annotated tag maven-acr-plugin-1.1
in repository https://gitbox.apache.org/repos/asf/maven-acr-plugin.git

commit fc9ffaa1135c58c8edb457992cb1672201c56cf7
Author: Kristian Rosenvold <kr...@apache.org>
AuthorDate: Sun Aug 25 18:02:43 2013 +0000

    Oh, look at that button. Does that convert everything to correct java5 ??
    
    <3 IntelliJ Idea. Don't leave home without it !
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-acr-plugin@1517354 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/maven/plugin/acr/AcrMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java b/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
index 5c26bdf..3893a99 100644
--- a/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
+++ b/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
@@ -183,7 +183,7 @@ public class AcrMojo
             if ( excludes != null && !excludes.isEmpty() )
             {
                 excludes.add( APP_CLIENT_XML );
-                mainJarExcludes = excludes.toArray( EMPTY_STRING_ARRAY );
+                mainJarExcludes = excludes.toArray(new String[excludes.size()]);
             }
 
             if ( !outputDirectory.exists() )

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