This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new d071db7  Fix formatting.
d071db7 is described below

commit d071db776134025ae1912defb0898e0c83345484
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Sun Sep 27 11:51:27 2020 -0400

    Fix formatting.
---
 .../java/org/apache/commons/io/filefilter/NotFileFilter.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java 
b/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java
index a7862e1..3a76d2e 100644
--- a/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java
@@ -35,7 +35,7 @@ public class NotFileFilter extends AbstractFileFilter 
implements Serializable {
     /**
      * Constructs a new file filter that NOTs the result of another filter.
      *
-     * @param filter  the filter, must not be null
+     * @param filter the filter, must not be null
      * @throws IllegalArgumentException if the filter is null
      */
     public NotFileFilter(final IOFileFilter filter) {
@@ -48,7 +48,7 @@ public class NotFileFilter extends AbstractFileFilter 
implements Serializable {
     /**
      * Returns the logical NOT of the underlying filter's return value for the 
same File.
      *
-     * @param file  the File to check
+     * @param file the File to check
      * @return true if the filter returns false
      */
     @Override
@@ -59,13 +59,13 @@ public class NotFileFilter extends AbstractFileFilter 
implements Serializable {
     /**
      * Returns the logical NOT of the underlying filter's return value for the 
same arguments.
      *
-     * @param file  the File directory
-     * @param name  the file name
+     * @param file the File directory
+     * @param name the file name
      * @return true if the filter returns false
      */
     @Override
     public boolean accept(final File file, final String name) {
-        return ! filter.accept(file, name);
+        return !filter.accept(file, name);
     }
 
     /**
@@ -75,7 +75,7 @@ public class NotFileFilter extends AbstractFileFilter 
implements Serializable {
      */
     @Override
     public String toString() {
-        return super.toString() + "(" + filter.toString()  + ")";
+        return super.toString() + "(" + filter.toString() + ")";
     }
 
 }

Reply via email to