Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
really fix logic
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1566268 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
hboutemy committed Feb 9, 2014
1 parent fe85535 commit ddc158a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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 )
Expand Down

0 comments on commit ddc158a

Please sign in to comment.