File tree Expand file tree Collapse file tree
src/java/org/apache/commons/io/filefilter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public class NotFileFilter extends AbstractFileFilter implements Serializable {
3333 private final IOFileFilter filter ;
3434
3535 /**
36- * Constructs a new file filter that NOTs the result of another filters .
36+ * Constructs a new file filter that NOTs the result of another filter .
3737 *
3838 * @param filter the filter, must not be null
3939 * @throws IllegalArgumentException if the filter is null
@@ -46,7 +46,7 @@ public NotFileFilter(IOFileFilter filter) {
4646 }
4747
4848 /**
49- * Checks to see if both filters are true .
49+ * Returns the logical NOT of the underlying filter's return value for the same File .
5050 *
5151 * @param file the File to check
5252 * @return true if the filter returns false
@@ -57,7 +57,7 @@ public boolean accept(File file) {
5757 }
5858
5959 /**
60- * Checks to see if both filters are true .
60+ * Returns the logical NOT of the underlying filter's return value for the same arguments .
6161 *
6262 * @param file the File directory
6363 * @param name the filename
You can’t perform that action at this time.
0 commit comments