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

commit e313a622d41034ec601cf823656c0ae0cddce029
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Nov 14 11:01:28 2024 -0500

    Javadoc
---
 src/main/java/org/apache/commons/io/FileUtils.java | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/FileUtils.java 
b/src/main/java/org/apache/commons/io/FileUtils.java
index b3f19f241..9b5bcd0b3 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -2295,12 +2295,14 @@ public class FileUtils {
     /**
      * Lists files in a directory, asserting that the supplied directory 
exists and is a directory.
      *
-     * @param directory The directory to list.
+     * @param directory  The directory to list.
      * @param fileFilter Optional file filter, may be null.
      * @return The files in the directory, never {@code null}.
-     * @throws NullPointerException if directory is {@code null}.
-     * @throws IllegalArgumentException if {@link directory} exists but is not 
a directory.
-     * @throws IOException if an I/O error occurs.
+     * @throws NullPointerException     if the {@code directory} is {@code 
null}.
+     * @throws IllegalArgumentException if the {@code directory} exists but is 
not a directory.
+     * @throws IOException              if an I/O error occurs per {@link 
File#listFiles()} and {@link File#listFiles(FileFilter)}.
+     * @throws SecurityException        If a security manager exists and its 
{@link SecurityManager#checkRead(String)} method denies read access to the
+     *                                  directory.
      */
     private static File[] listFiles(final File directory, final FileFilter 
fileFilter) throws IOException {
         requireDirectoryExists(directory, "directory");

Reply via email to