You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/03/16 13:42:10 UTC

[maven-patch-plugin] 05/08: fix default value of excludePatterns

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

rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-patch-plugin.git

commit 7762bda9956e40dbf50e5dfc865a95365bbffb55
Author: Robert Scholte <rf...@apache.org>
AuthorDate: Thu Nov 8 09:30:07 2018 +0100

    fix default value of excludePatterns
    
    Co-Authored-By: matthiasbalke <ma...@googlemail.com>
---
 src/main/java/org/apache/maven/plugin/patch/ApplyMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugin/patch/ApplyMojo.java b/src/main/java/org/apache/maven/plugin/patch/ApplyMojo.java
index 112b5ad..b8117b2 100644
--- a/src/main/java/org/apache/maven/plugin/patch/ApplyMojo.java
+++ b/src/main/java/org/apache/maven/plugin/patch/ApplyMojo.java
@@ -289,7 +289,7 @@ public class ApplyMojo
                         + patchDirectory );
                 }
 
-                String excludePatterns = "";
+                String excludePatterns = null;
                 if ( excludes != null )
                 {
                     excludePatterns = StringUtils.join( excludes.iterator(), "," );