You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2021/09/12 11:01:57 UTC
[commons-io] branch master updated: isRegularFile checks for
regular files, not directories...
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new d82131c isRegularFile checks for regular files, not directories...
d82131c is described below
commit d82131ca63ccb4d5d40e9e8aa016e165d492c238
Author: Sebb <se...@apache.org>
AuthorDate: Sun Sep 12 12:01:50 2021 +0100
isRegularFile checks for regular files, not directories...
---
src/main/java/org/apache/commons/io/FileUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/io/FileUtils.java b/src/main/java/org/apache/commons/io/FileUtils.java
index 519edc5..ff0e7f5 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -1866,7 +1866,7 @@ public class FileUtils {
* @param file the path to the file.
* @param options options indicating how symbolic links are handled
* @return {@code true} if the file is a regular file; {@code false} if
- * the path is null, the file does not exist, is not a directory, or it cannot
+ * the path is null, the file does not exist, is not a regular file, or it cannot
* be determined if the file is a regular file or not.
* @throws SecurityException In the case of the default provider, and a security manager is installed, the
* {@link SecurityManager#checkRead(String) checkRead} method is invoked to check read