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 536fdf0 Javadoc.
536fdf0 is described below
commit 536fdf0d32d541f4257f429b98bc769aa76d4263
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jan 18 13:09:45 2021 -0500
Javadoc.
---
src/main/java/org/apache/commons/io/FileUtils.java | 3 ++-
1 file changed, 2 insertions(+), 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 82462bd..a71e40e 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -1259,7 +1259,8 @@ public class FileUtils {
* @param child the file to consider as the child.
* @return true is the candidate leaf is under by the specified composite.
False otherwise.
* @throws IOException if an IO error occurs while checking
the files.
- * @throws IllegalArgumentException if {@code directory} is not a
directory.
+ * @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.
* @see FilenameUtils#directoryContains(String, String)
* @since 2.2
*/