mbenson     2005/02/04 15:37:33

  Modified:    src/main/org/apache/tools/ant/types AbstractFileSet.java
  Log:
  another convenience method
  
  Revision  Changes    Path
  1.39      +10 -1     
ant/src/main/org/apache/tools/ant/types/AbstractFileSet.java
  
  Index: AbstractFileSet.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/AbstractFileSet.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- AbstractFileSet.java      4 Feb 2005 23:22:16 -0000       1.38
  +++ AbstractFileSet.java      4 Feb 2005 23:37:33 -0000       1.39
  @@ -124,7 +124,7 @@
        * Retrieves the base-directory for this instance.
        * @return <code>File</code>.
        */
  -    public synchronized File getDir() {
  +    public File getDir() {
           return getDir(getProject());
       }
   
  @@ -426,6 +426,15 @@
       }
   
       /**
  +     * Set up the specified directory scanner against this
  +     * AbstractFileSet's Project.
  +     * @param ds a <code>FileScanner</code> instance.
  +     */
  +    public void setupDirectoryScanner(FileScanner ds) {
  +        setupDirectoryScanner(ds, getProject());
  +    }
  +
  +    /**
        * Set up the specified directory scanner against the specified project.
        * @param ds a <code>FileScanner</code> instance.
        * @param p an Ant <code>Project</code> instance.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to