Skip to content

Commit e313a62

Browse files
committed
Javadoc
1 parent 0390d81 commit e313a62

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/main/java/org/apache/commons/io/FileUtils.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2295,12 +2295,14 @@ private static AccumulatorPathVisitor listAccumulate(final File directory, final
22952295
/**
22962296
* Lists files in a directory, asserting that the supplied directory exists and is a directory.
22972297
*
2298-
* @param directory The directory to list.
2298+
* @param directory The directory to list.
22992299
* @param fileFilter Optional file filter, may be null.
23002300
* @return The files in the directory, never {@code null}.
2301-
* @throws NullPointerException if directory is {@code null}.
2302-
* @throws IllegalArgumentException if {@link directory} exists but is not a directory.
2303-
* @throws IOException if an I/O error occurs.
2301+
* @throws NullPointerException if the {@code directory} is {@code null}.
2302+
* @throws IllegalArgumentException if the {@code directory} exists but is not a directory.
2303+
* @throws IOException if an I/O error occurs per {@link File#listFiles()} and {@link File#listFiles(FileFilter)}.
2304+
* @throws SecurityException If a security manager exists and its {@link SecurityManager#checkRead(String)} method denies read access to the
2305+
* directory.
23042306
*/
23052307
private static File[] listFiles(final File directory, final FileFilter fileFilter) throws IOException {
23062308
requireDirectoryExists(directory, "directory");

0 commit comments

Comments
 (0)