commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r768750 - /commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java
Date Sun, 26 Apr 2009 19:24:44 GMT
Author: niallp
Date: Sun Apr 26 19:24:43 2009
New Revision: 768750

URL: http://svn.apache.org/viewvc?rev=768750&view=rev
Log:
Fix IO-202 NotFileFilter documentation is incorrect - thanks to Matthew Flaschen for the patch

Modified:
    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java

Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java?rev=768750&r1=768749&r2=768750&view=diff
==============================================================================
--- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java (original)
+++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java Sun
Apr 26 19:24:43 2009
@@ -33,7 +33,7 @@
     private final IOFileFilter filter;
 
     /**
-     * Constructs a new file filter that NOTs the result of another filters.
+     * Constructs a new file filter that NOTs the result of another filter.
      * 
      * @param filter  the filter, must not be null
      * @throws IllegalArgumentException if the filter is null
@@ -46,7 +46,7 @@
     }
 
     /**
-     * Checks to see if both filters are true.
+     * Returns the logical NOT of the underlying filter's return value for the same File.
      * 
      * @param file  the File to check
      * @return true if the filter returns false
@@ -57,7 +57,7 @@
     }
     
     /**
-     * Checks to see if both filters are true.
+     * Returns the logical NOT of the underlying filter's return value for the same arguments.
      * 
      * @param file  the File directory
      * @param name  the filename



Mime
View raw message