litesoft
Diff Revisions
958
vs
959
for /trunk/Java/ScarPlus/src/com/esotericsoftware/wildcard/support/CurrentDirMatcher.java
|
@@ -2,23 +2,19 @@ |
2 |
2 |
|
|
3 |
3 |
|
import com.esotericsoftware.wildcard.*; |
4 |
4 |
|
|
5 |
|
- |
public class CurrentDirMatcher implements DirMatcher |
6 |
|
- |
{ |
|
5 |
+ |
public class CurrentDirMatcher implements DirMatcher { |
7 |
6 |
|
public static final DirMatcher INSTANCE = new CurrentDirMatcher(); |
8 |
7 |
|
|
9 |
|
- |
private CurrentDirMatcher() |
10 |
|
- |
{ |
|
8 |
+ |
private CurrentDirMatcher() { |
11 |
9 |
|
} |
12 |
10 |
|
|
13 |
11 |
|
@Override |
14 |
|
- |
public boolean acceptableParentDir( String dirPath ) |
15 |
|
- |
{ |
|
12 |
+ |
public boolean acceptableParentDir( String dirPath ) { |
16 |
13 |
|
return false; |
17 |
14 |
|
} |
18 |
15 |
|
|
19 |
16 |
|
@Override |
20 |
|
- |
public boolean acceptable( String dirPath ) |
21 |
|
- |
{ |
|
17 |
+ |
public boolean acceptable( String dirPath ) { |
22 |
18 |
|
return "".equals( dirPath ); |
23 |
19 |
|
} |
24 |
20 |
|
} |