ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/types AbstractFileSet.java
Date Sun, 25 May 2003 09:07:18 GMT
antoine     2003/05/25 02:07:18

  Modified:    src/main/org/apache/tools/ant/types AbstractFileSet.java
  Log:
  Allow to nest the DifferentSelector using the tag <different/> directly inside filesets
  PR: 20220
  Submitted by: Jeff Turner (jefft at apache dot org)
  
  Revision  Changes    Path
  1.18      +8 -0      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.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- AbstractFileSet.java	14 Apr 2003 07:53:07 -0000	1.17
  +++ AbstractFileSet.java	25 May 2003 09:07:18 -0000	1.18
  @@ -70,6 +70,7 @@
   import org.apache.tools.ant.types.selectors.DepthSelector;
   import org.apache.tools.ant.types.selectors.ExtendSelector;
   import org.apache.tools.ant.types.selectors.FileSelector;
  +import org.apache.tools.ant.types.selectors.DifferentSelector;
   import org.apache.tools.ant.types.selectors.FilenameSelector;
   import org.apache.tools.ant.types.selectors.MajoritySelector;
   import org.apache.tools.ant.types.selectors.NoneSelector;
  @@ -581,6 +582,13 @@
        * add a selector size entry on the selector list
        */
       public void addSize(SizeSelector selector) {
  +        appendSelector(selector);
  +    }
  +
  +    /**
  +     * add a DifferentSelector entry on the selector list
  +     */
  +    public void addDifferent(DifferentSelector selector) {
           appendSelector(selector);
       }
   
  
  
  

Mime
View raw message