Author: rfscholte Date: Sat Sep 12 21:32:44 2015 New Revision: 1702683 URL: http://svn.apache.org/r1702683 Log: Reintroduce constructor based on List for backwards compatibility
Modified: maven/shared/trunk/maven-common-artifact-filters/src/main/java/org/apache/maven/shared/artifact/filter/PatternIncludesArtifactFilter.java Modified: maven/shared/trunk/maven-common-artifact-filters/src/main/java/org/apache/maven/shared/artifact/filter/PatternIncludesArtifactFilter.java URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-common-artifact-filters/src/main/java/org/apache/maven/shared/artifact/filter/PatternIncludesArtifactFilter.java?rev=1702683&r1=1702682&r2=1702683&view=diff ============================================================================== --- maven/shared/trunk/maven-common-artifact-filters/src/main/java/org/apache/maven/shared/artifact/filter/PatternIncludesArtifactFilter.java (original) +++ maven/shared/trunk/maven-common-artifact-filters/src/main/java/org/apache/maven/shared/artifact/filter/PatternIncludesArtifactFilter.java Sat Sep 12 21:32:44 2015 @@ -57,6 +57,12 @@ public class PatternIncludesArtifactFilt this( patterns, false ); } + // for backwards compatibility + public PatternIncludesArtifactFilter( final List<String> patterns ) + { + this( patterns, false ); + } + public PatternIncludesArtifactFilter( final Collection<String> patterns, final boolean actTransitively ) { this.actTransitively = actTransitively;