|
|
|
@@ -247,6 +247,20 @@ public class DirectoryScanner |
|
|
|
/** Whether or not everything tested so far has been included. */ |
|
|
|
protected boolean everythingIncluded = true; |
|
|
|
|
|
|
|
/** |
|
|
|
* Temporary table to speed up the various scanning methods. |
|
|
|
* |
|
|
|
* @since Ant 1.6 |
|
|
|
*/ |
|
|
|
private Map fileListMap = new HashMap(); |
|
|
|
|
|
|
|
/** |
|
|
|
* List of all scanned directories. |
|
|
|
* |
|
|
|
* @since Ant 1.6 |
|
|
|
*/ |
|
|
|
private Set scannedDirs = new HashSet(); |
|
|
|
|
|
|
|
/** |
|
|
|
* Set of all include patterns that are full file names and don't |
|
|
|
* contain any wildcards. |
|
|
|
@@ -1352,13 +1366,6 @@ public class DirectoryScanner |
|
|
|
f.isDirectory(), f.length()); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* temporary table to speed up the various scanning methods below |
|
|
|
* |
|
|
|
* @since Ant 1.6 |
|
|
|
*/ |
|
|
|
private Map fileListMap = new HashMap(); |
|
|
|
|
|
|
|
/** |
|
|
|
* Returns a cached result of list performed on file, if |
|
|
|
* available. Invokes the method and caches the result otherwise. |
|
|
|
@@ -1509,13 +1516,6 @@ public class DirectoryScanner |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* List of all scanned directories. |
|
|
|
* |
|
|
|
* @since Ant 1.6 |
|
|
|
*/ |
|
|
|
private Set scannedDirs = new HashSet(); |
|
|
|
|
|
|
|
/** |
|
|
|
* Has the directory with the given path relative to the base |
|
|
|
* directory already been scanned? |
|
|
|
|