From 25ba6c109278b97ea72c69fe2c83f425265d3dd7 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Fri, 4 Feb 2005 23:47:09 +0000 Subject: [PATCH] Move instance variables git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277607 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tools/ant/DirectoryScanner.java | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/main/org/apache/tools/ant/DirectoryScanner.java b/src/main/org/apache/tools/ant/DirectoryScanner.java index e3b90b068..81e40e73f 100644 --- a/src/main/org/apache/tools/ant/DirectoryScanner.java +++ b/src/main/org/apache/tools/ant/DirectoryScanner.java @@ -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?