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 2018/11/10 12:52:53 UTC
[maven-shade-plugin] 06/08: - checkstyle
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch MSHADE-291
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git
commit cc3312716aea2ead70d0838db011a8146dd3ccc8
Author: Fabiano C. de Oliveira <fa...@yahoo.com.br>
AuthorDate: Sat Nov 10 02:07:26 2018 -0200
- checkstyle
---
.../org/apache/maven/plugins/shade/relocation/SimpleRelocator.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/maven/plugins/shade/relocation/SimpleRelocator.java b/src/main/java/org/apache/maven/plugins/shade/relocation/SimpleRelocator.java
index b0f749b..8ae605b 100644
--- a/src/main/java/org/apache/maven/plugins/shade/relocation/SimpleRelocator.java
+++ b/src/main/java/org/apache/maven/plugins/shade/relocation/SimpleRelocator.java
@@ -183,7 +183,8 @@ public class SimpleRelocator
path = path.substring( 1 );
}
- return isIncluded( path ) && !isExcluded( path ) && path.startsWith( pathPattern ) && !path.startsWith( shadedPathPattern );
+ return isIncluded( path ) && !isExcluded( path ) && path.startsWith( pathPattern )
+ && !path.startsWith( shadedPathPattern );
}
public boolean canRelocateClass( String clazz )