commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/ant FileScanner.java
Date Wed, 10 Jul 2002 18:53:50 GMT
jvanzyl     2002/07/10 11:53:50

  Modified:    jelly/src/java/org/apache/commons/jelly/tags/ant
                        FileScanner.java
  Log:
  o Adding a convenience method so we can easily tell if the scanner
    picked up any files.
  
  Revision  Changes    Path
  1.3       +5 -1      jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/ant/FileScanner.java
  
  Index: FileScanner.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/ant/FileScanner.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FileScanner.java	28 Jun 2002 11:05:06 -0000	1.2
  +++ FileScanner.java	10 Jul 2002 18:53:50 -0000	1.3
  @@ -90,7 +90,11 @@
       public Iterator iterator() {
           return new FileIterator(project, filesets.iterator());
       }
  -    
  +
  +    public boolean hasFiles() {
  +        return filesets.size() > 0;
  +    }        
  +
       // Properties
       //-------------------------------------------------------------------------
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message