avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon/src/java/org/apache/avalon/util/io InvertedFileFilter.java
Date Mon, 26 Mar 2001 11:33:03 GMT
donaldp     01/03/26 03:33:03

  Modified:    src/java/org/apache/avalon/util/io InvertedFileFilter.java
  Log:
  Modified style.
  
  Revision  Changes    Path
  1.2       +6 -5      jakarta-avalon/src/java/org/apache/avalon/util/io/InvertedFileFilter.java
  
  Index: InvertedFileFilter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/java/org/apache/avalon/util/io/InvertedFileFilter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InvertedFileFilter.java	2001/03/26 09:15:06	1.1
  +++ InvertedFileFilter.java	2001/03/26 11:33:00	1.2
  @@ -18,15 +18,16 @@
    */
   public class InvertedFileFilter implements FilenameFilter
   {
  -    private final FilenameFilter origFilter;
  -    public InvertedFileFilter( FilenameFilter origFilter ) 
  +    private final FilenameFilter m_originalFilter;
  +
  +    public InvertedFileFilter( final FilenameFilter originalFilter ) 
       {
  -        this.origFilter = origFilter;
  +        m_originalFilter = originalFilter;
       }
   
  -    public boolean accept( File file, final String name ) 
  +    public boolean accept( final File file, final String name ) 
       {
  -        return !origFilter.accept(file,name);
  +        return !m_originalFilter.accept( file, name );
       }
   }
   
  
  
  

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


Mime
View raw message