1 | String[] getExcludedDirectories() {↵ | | 1 | String[] getNotIncludedDirectories() {↵
|
2 | slowScan();↵ | | 2 | slowScan();↵
|
3 | String[] directories = new String[dirsExcluded.size()];↵ | | 3 | String[] directories = new String[dirsNotIncluded.size()];↵
|
4 | dirsExcluded.copyInto(directories);↵ | | 4 | dirsNotIncluded.copyInto(directories);↵
|
5 | return directories;↵ | | 5 | return directories;↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * <p>Return the names of the directories which were selected out and↵ | | 8 | * Return the names of the directories which ↵
|
9 | * therefore not ultimately included.</p>↵ | | |
|
10 | *↵ | | |
|
11 | * <p>↵ | | 9 | matched at least one of the↵
|
| | | 10 | * include patterns and at least one of the exclude patterns.↵
|
12 | The names are relative to the base directory. This involves↵ | | 11 | * The names are relative to the base directory. This involves↵
|
13 | * performing a slow scan if one has not already been completed.</p>↵ | | 12 | * performing a slow scan if one has not already been completed.↵
|
14 | *↵ | | 13 | *↵
|
15 | * @return the names of the directories which were deselected↵ | | 14 | * @return the names of the directories which matched at least one of the↵
|
16 | .↵ | | 15 | * include patterns and at least one of the exclude patterns.↵
|
17 | *↵ | | 16 | *↵
|
18 | * @see #slowScan↵ | | 17 | * @see #slowScan↵
|
19 | */↵ | | 18 | */↵
|
20 | public synchronized String[] getDeselectedDirectories() {↵ | | 19 | public synchronized String[] getExcludedDirectories() {↵
|
21 | slowScan();↵ | | 20 | slowScan();↵
|
22 | String[] directories = new String[dirsDeselected.size()];↵ | | 21 | String[] directories = new String[dirsExcluded.size()];↵
|
23 | dirsDeselected.copyInto(directories);↵ | | 22 | dirsExcluded.copyInto(directories);↵
|
24 | return directories;↵ | | 23 | return directories;↵
|
25 | | | 24 |
|