Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 14, 2024
1 parent 0390d81 commit e313a62
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/java/org/apache/commons/io/FileUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -2295,12 +2295,14 @@ private static AccumulatorPathVisitor listAccumulate(final File directory, final
/**
* 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");
Expand Down

0 comments on commit e313a62

Please sign in to comment.