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 ec04050 Internal Javadoc fix. ec04050 is described below commit ec04050569d11efbb6d793493631613ecd74ec0c Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Thu Sep 16 09:06:32 2021 -0400 Internal Javadoc fix. --- src/main/java/org/apache/commons/io/FileUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/io/FileUtils.java b/src/main/java/org/apache/commons/io/FileUtils.java index a504761..3d0d030 100644 --- a/src/main/java/org/apache/commons/io/FileUtils.java +++ b/src/main/java/org/apache/commons/io/FileUtils.java @@ -2856,7 +2856,7 @@ public class FileUtils { * @param name The parameter name to use in the exception message. * @return the given file. * @throws NullPointerException if the given {@code File} is {@code null}. - * @throws IllegalArgumentException if the given {@code File} does not exist or is not a directory. + * @throws IllegalArgumentException if the given {@code File} does not exist or is not a file. */ private static File requireFile(final File file, final String name) { Objects.requireNonNull(file, name);