1 | PatternSet.NameEntry createInclude() {↵ | | 1 | PatternSet.NameEntry createIncludesFile() {↵
|
2 | if (isReference()) {↵ | | 2 | if (isReference()) {↵
|
3 | throw noChildrenAllowed();↵ | | 3 | throw noChildrenAllowed();↵
|
4 | }↵ | | 4 | }↵
|
5 | ds = null;↵ | | 5 | directoryScanner = null;↵
|
6 | return defaultPatterns.createInclude();↵ | | 6 | return defaultPatterns.createIncludesFile();↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Add a name entry to the include files list.↵ | | 9 | * Add a name entry to the exclude list.↵
|
10 | * @return <code>PatternSet.NameEntry</code>.↵ | | 10 | * @return <code>PatternSet.NameEntry</code>.↵
|
11 | */↵ | | 11 | */↵
|
12 | public synchronized PatternSet.NameEntry createIncludesFile() {↵ | | 12 | public synchronized PatternSet.NameEntry createExclude() {↵
|
13 | if (isReference()) {↵ | | 13 | if (isReference()) {↵
|
14 | throw noChildrenAllowed();↵ | | 14 | throw noChildrenAllowed();↵
|
15 | }↵ | | 15 | }↵
|
16 | ds = null;↵ | | 16 | directoryScanner = null;↵
|
17 | return defaultPatterns.createIncludesFile();↵ | | 17 | return defaultPatterns.createExclude();↵
|
18 | }↵ | | 18 | }↵
|
|
19 | /**↵ | | 19 | /**↵
|
20 | * Add a name entry to the exclude list.↵ | | 20 | * Add a name entry to the excludes files list.↵
|
21 | * @return <code>PatternSet.NameEntry</code>.↵ | | 21 | * @return <code>PatternSet.NameEntry</code>.↵
|
22 | */↵ | | 22 | */↵
|
23 | public synchronized PatternSet.NameEntry createExclude() {↵ | | 23 | public synchronized PatternSet.NameEntry createExcludesFile() {↵
|
24 | if (isReference()) {↵ | | 24 | if (isReference()) {↵
|
25 | throw noChildrenAllowed();↵ | | 25 | throw noChildrenAllowed();↵
|
26 | }↵ | | 26 | }↵
|
27 | ds = null;↵ | | 27 | directoryScanner = null;↵
|
28 | return defaultPatterns.createExclude();↵ | | 28 | return defaultPatterns.createExcludesFile();↵
|
29 | | | 29 |
|