Skip to content

Commit d82131c

Browse files
committed
isRegularFile checks for regular files, not directories...
1 parent e7b0b92 commit d82131c

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
@@ -1866,7 +1866,7 @@ public static boolean isFileOlder(final File file, final long timeMillis) {
18661866
* @param file the path to the file.
18671867
* @param options options indicating how symbolic links are handled
18681868
* @return {@code true} if the file is a regular file; {@code false} if
1869-
* the path is null, the file does not exist, is not a directory, or it cannot
1869+
* the path is null, the file does not exist, is not a regular file, or it cannot
18701870
* be determined if the file is a regular file or not.
18711871
* @throws SecurityException In the case of the default provider, and a security manager is installed, the
18721872
* {@link SecurityManager#checkRead(String) checkRead} method is invoked to check read

0 commit comments

Comments
 (0)