ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant DirectoryScanner.java
Date Fri, 04 Feb 2005 23:47:10 GMT
mbenson     2005/02/04 15:47:09

  Modified:    src/main/org/apache/tools/ant DirectoryScanner.java
  Log:
  Move instance variables
  
  Revision  Changes    Path
  1.81      +14 -14    ant/src/main/org/apache/tools/ant/DirectoryScanner.java
  
  Index: DirectoryScanner.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/DirectoryScanner.java,v
  retrieving revision 1.80
  retrieving revision 1.81
  diff -u -r1.80 -r1.81
  --- DirectoryScanner.java	21 Jan 2005 22:15:46 -0000	1.80
  +++ DirectoryScanner.java	4 Feb 2005 23:47:09 -0000	1.81
  @@ -248,6 +248,20 @@
       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.
        *
  @@ -1353,13 +1367,6 @@
       }
   
       /**
  -     * 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.
        *
  @@ -1510,13 +1517,6 @@
       }
   
       /**
  -     * 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?
        *
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message