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:22 UTC

[maven-acr-plugin] 09/45: use generics

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 295efb024e1f211a09b775627c7e93555ea9e0e6
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Thu Jul 12 09:32:41 2012 +0000

    use generics
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-acr-plugin@1360597 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/maven/plugin/acr/AcrMojo.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 32ae43d..e91e6ac 100644
--- a/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
+++ b/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
@@ -96,7 +96,7 @@ public class AcrMojo
      * <br/>Default exclusions: META-INF&#47;application-client.xml,
      */
     @Parameter
-    private List excludes;
+    private List<String> excludes;
 
     /**
      * The Maven project.
@@ -141,7 +141,7 @@ public class AcrMojo
      * Filters (properties files) to include during the interpolation of the deployment descriptor.
      */
     @Parameter
-    private List filters;
+    private List<String> filters;
 
     /**
      */
@@ -183,7 +183,7 @@ public class AcrMojo
             if ( excludes != null && !excludes.isEmpty() )
             {
                 excludes.add( APP_CLIENT_XML );
-                mainJarExcludes = (String[]) excludes.toArray( EMPTY_STRING_ARRAY );
+                mainJarExcludes = excludes.toArray( EMPTY_STRING_ARRAY );
             }
 
             if ( !outputDirectory.exists() )

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