Subversion Repository Public Repository

litesoft

Diff Revisions 958 vs 959 for /trunk/Java/ScarPlus/src/com/esotericsoftware/wildcard/support/WildSingleDirMatcher.java

Diff revisions: vs.
  @@ -2,24 +2,20 @@
2 2
3 3 import com.esotericsoftware.wildcard.*;
4 4
5 - public class WildSingleDirMatcher implements DirMatcher
6 - {
5 + public class WildSingleDirMatcher implements DirMatcher {
7 6 private final FilePathPartMatcher mFilePathPartMatcher;
8 7
9 - public WildSingleDirMatcher( String pDirPath )
10 - {
8 + public WildSingleDirMatcher( String pDirPath ) {
11 9 mFilePathPartMatcher = new WildCardPatternFilePathPartMatcher( pDirPath );
12 10 }
13 11
14 12 @Override
15 - public boolean acceptableParentDir( String dirPath )
16 - {
13 + public boolean acceptableParentDir( String dirPath ) {
17 14 return false;
18 15 }
19 16
20 17 @Override
21 - public boolean acceptable( String dirPath )
22 - {
18 + public boolean acceptable( String dirPath ) {
23 19 return !dirPath.contains( "/" ) && mFilePathPartMatcher.acceptable( dirPath );
24 20 }
25 21 }