Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

really fix logic

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1566268 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit ddc158aa53cb90e07058db9c9898eb088c36d577 1 parent fe85535
@hboutemy hboutemy authored
View
4 maven-shared-utils/src/main/java/org/apache/maven/shared/utils/io/SelectorUtils.java
@@ -580,8 +580,8 @@ static boolean matchAntPathPatternStart( @Nonnull MatchPattern pattern,
@Nonnull String separator,
boolean isCaseSensitive )
{
- return separatorPatternStartSlashMismatch( pattern, str, separator )
- || matchAntPathPatternStart( pattern.getTokenizedPathString(), str, separator, isCaseSensitive );
+ return !separatorPatternStartSlashMismatch( pattern, str, separator )
+ && matchAntPathPatternStart( pattern.getTokenizedPathString(), str, separator, isCaseSensitive );
}
private static String[] tokenizePathToString( @Nonnull String path, @Nonnull String separator )
Please sign in to comment.
Something went wrong with that request. Please try again.