ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/types/selectors AbstractSelectorContainer.java DepthSelector.java ExtendSelector.java
Date Tue, 25 Jan 2005 11:28:04 GMT
peterreilly    2005/01/25 03:28:04

  Modified:    src/main/org/apache/tools/ant/types/selectors
                        AbstractSelectorContainer.java DepthSelector.java
                        ExtendSelector.java
  Log:
  javadoc and remove unused imports
  
  Revision  Changes    Path
  1.2       +1 -3      ant/src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java
  
  Index: AbstractSelectorContainer.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractSelectorContainer.java	1 Dec 2004 11:25:46 -0000	1.1
  +++ AbstractSelectorContainer.java	25 Jan 2005 11:28:04 -0000	1.2
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2002-2004 The Apache Software Foundation
  + * Copyright  2002-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -17,11 +17,9 @@
   
   package org.apache.tools.ant.types.selectors;
   
  -import java.io.File;
   import java.util.Enumeration;
   import java.util.Vector;
   
  -import org.apache.tools.ant.BuildException;
   import org.apache.tools.ant.Project;
   import org.apache.tools.ant.types.DataType;
   import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
  
  
  
  1.13      +3 -1      ant/src/main/org/apache/tools/ant/types/selectors/DepthSelector.java
  
  Index: DepthSelector.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/selectors/DepthSelector.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DepthSelector.java	9 Mar 2004 16:48:47 -0000	1.12
  +++ DepthSelector.java	25 Jan 2005 11:28:04 -0000	1.13
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2002-2004 The Apache Software Foundation
  + * Copyright  2002-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -31,7 +31,9 @@
    */
   public class DepthSelector extends BaseExtendSelector {
   
  +    /** min attribute */
       public int min = -1;
  +    /** max attribute */
       public int max = -1;
       /** Used for parameterized custom selector */
       public static final String MIN_KEY = "min";
  
  
  
  1.19      +6 -3      ant/src/main/org/apache/tools/ant/types/selectors/ExtendSelector.java
  
  Index: ExtendSelector.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/selectors/ExtendSelector.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ExtendSelector.java	12 Nov 2004 15:17:03 -0000	1.18
  +++ ExtendSelector.java	25 Jan 2005 11:28:04 -0000	1.19
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2002-2004 The Apache Software Foundation
  + * Copyright  2002-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -177,8 +177,11 @@
        * since we know we must have them all by now. And since we must know
        * both classpath and classname, creating the class is deferred to here
        * as well.
  -     *
  -     * @exception BuildException if an error occurs
  +     * @param basedir The the base directory.
  +     * @param filename The name of the file to check.
  +     * @param file A File object for this filename.
  +     * @return whether the file should be selected or not.
  +     * @exception BuildException if an error occurs.
        */
       public boolean isSelected(File basedir, String filename, File file)
               throws BuildException {
  
  
  

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


Mime
View raw message