Skip to content

Commit ec04050

Browse files
author
Gary Gregory
committed
Internal Javadoc fix.
1 parent 8febcd1 commit ec04050

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2856,7 +2856,7 @@ private static File requireExistsChecked(final File file, final String fileParam
28562856
* @param name The parameter name to use in the exception message.
28572857
* @return the given file.
28582858
* @throws NullPointerException if the given {@code File} is {@code null}.
2859-
* @throws IllegalArgumentException if the given {@code File} does not exist or is not a directory.
2859+
* @throws IllegalArgumentException if the given {@code File} does not exist or is not a file.
28602860
*/
28612861
private static File requireFile(final File file, final String name) {
28622862
Objects.requireNonNull(file, name);

0 commit comments

Comments
 (0)