diff options
author | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2014-04-14 07:56:28 +0200 |
---|---|---|
committer | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2014-04-14 08:02:27 +0200 |
commit | 91e51b560798dd0927a21344b12c1de5a26049f7 (patch) | |
tree | 697735e8288c6b3668fcb7d99c932eca9a2ecf51 /jacoco-maven-plugin | |
parent | 488550f5176f005ab78b70fe7439db57f4a442ed (diff) | |
download | jacoco-91e51b560798dd0927a21344b12c1de5a26049f7.tar.gz |
Fix Sonar warnings: Use collection interfaces in declarations.
Diffstat (limited to 'jacoco-maven-plugin')
-rw-r--r-- | jacoco-maven-plugin/src/org/jacoco/maven/MergeMojo.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/jacoco-maven-plugin/src/org/jacoco/maven/MergeMojo.java b/jacoco-maven-plugin/src/org/jacoco/maven/MergeMojo.java index d4dea88f..3912efc6 100644 --- a/jacoco-maven-plugin/src/org/jacoco/maven/MergeMojo.java +++ b/jacoco-maven-plugin/src/org/jacoco/maven/MergeMojo.java @@ -13,7 +13,7 @@ package org.jacoco.maven; import java.io.File; import java.io.IOException; -import java.util.ArrayList; +import java.util.List; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; @@ -44,10 +44,10 @@ public class MergeMojo extends AbstractJacocoMojo { /** * This mojo accepts any number of execution data file sets. - * - * Note that you need an <tt>implementation</tt> hint on - * <tt>fileset</tt> with Maven 2 (not needed with Maven 3): - * + * + * Note that you need an <tt>implementation</tt> hint on <tt>fileset</tt> + * with Maven 2 (not needed with Maven 3): + * * <pre> * <code> * <fileSets> @@ -60,11 +60,11 @@ public class MergeMojo extends AbstractJacocoMojo { * </fileSets> * </code> * </pre> - * + * * @parameter expression="${jacoco.fileSets}" * @required */ - private ArrayList<FileSet> fileSets; + private List<FileSet> fileSets; @Override protected void executeMojo() throws MojoExecutionException, |