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 3fb689a  Fix Checkstyle issues.
3fb689a is described below

commit 3fb689ad22552e0f42fc5f24b29c9daf7b205d5d
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Fri Oct 16 10:57:49 2020 -0400

    Fix Checkstyle issues.
---
 src/main/java/org/apache/commons/io/FileUtils.java         |  1 -
 .../org/apache/commons/io/filefilter/RegexFileFilter.java  | 14 ++++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/FileUtils.java 
b/src/main/java/org/apache/commons/io/FileUtils.java
index 5bacafb..b6384d6 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -57,7 +57,6 @@ import org.apache.commons.io.file.Counters;
 import org.apache.commons.io.file.PathUtils;
 import org.apache.commons.io.filefilter.DirectoryFileFilter;
 import org.apache.commons.io.filefilter.FalseFileFilter;
-import org.apache.commons.io.filefilter.FileFilterUtils;
 import org.apache.commons.io.filefilter.IOFileFilter;
 import org.apache.commons.io.filefilter.SuffixFileFilter;
 import org.apache.commons.io.filefilter.TrueFileFilter;
diff --git 
a/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java 
b/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java
index 6548284..e103976 100644
--- a/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java
@@ -33,6 +33,7 @@ import org.apache.commons.io.IOCase;
  * <h2>Using Classic IO</h2>
  * <p>
  * e.g.
+ * 
  * <pre>
  * File dir = new File(".");
  * FileFilter fileFilter = new RegexFileFilter("^.*[tT]est(-\\d+)?\\.java$");
@@ -43,6 +44,7 @@ import org.apache.commons.io.IOCase;
  * </pre>
  *
  * <h2>Using NIO</h2>
+ * 
  * <pre>
  * final Path dir = Paths.get(".");
  * final AccumulatorPathVisitor visitor = 
AccumulatorPathVisitor.withLongCounters(new 
RegexFileFilter("^.*[tT]est(-\\d+)?\\.java$"));
@@ -115,7 +117,7 @@ public class RegexFileFilter extends AbstractFileFilter 
implements Serializable
      * Construct a new regular expression filter with the specified flags case 
sensitivity.
      *
      * @param pattern regular string expression to match
-     * @param caseSensitivity  how to handle case sensitivity, null means 
case-sensitive
+     * @param caseSensitivity how to handle case sensitivity, null means 
case-sensitive
      * @throws IllegalArgumentException if the pattern is null
      */
     public RegexFileFilter(final String pattern, final IOCase caseSensitivity) 
{
@@ -132,8 +134,8 @@ public class RegexFileFilter extends AbstractFileFilter 
implements Serializable
     /**
      * Checks to see if the file name matches one of the regular expressions.
      *
-     * @param dir   the file directory (ignored)
-     * @param name  the file name
+     * @param dir the file directory (ignored)
+     * @param name the file name
      * @return true if the file name matches one of the regular expressions
      */
     @Override
@@ -143,9 +145,9 @@ public class RegexFileFilter extends AbstractFileFilter 
implements Serializable
 
     /**
      * Checks to see if the file name matches one of the regular expressions.
-     * @param dir   the file directory (ignored)
-     * @param name  the file name
-     *
+     * 
+     * @param path the path
+     * @param attributes the path attributes
      * @return true if the file name matches one of the regular expressions
      */
     @Override

Reply via email to