Browse Source

Move instance variables

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277607 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 20 years ago
parent
commit
25ba6c1092
1 changed files with 14 additions and 14 deletions
  1. +14
    -14
      src/main/org/apache/tools/ant/DirectoryScanner.java

+ 14
- 14
src/main/org/apache/tools/ant/DirectoryScanner.java View File

@@ -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?


Loading…
Cancel
Save