You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2017/11/15 16:58:35 UTC
Fwd: commons-io git commit: Typos and clarifications
Thanks Sebb!
Gary
---------- Forwarded message ----------
From: <se...@apache.org>
Date: Wed, Nov 15, 2017 at 9:53 AM
Subject: commons-io git commit: Typos and clarifications
To: commits@commons.apache.org
Repository: commons-io
Updated Branches:
refs/heads/master 2196ff68d -> aafa3dca4
Typos and clarifications
Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/aafa3dca
Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/aafa3dca
Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/aafa3dca
Branch: refs/heads/master
Commit: aafa3dca40e1d0a377ce9112538091581176dd50
Parents: 2196ff6
Author: Sebb <se...@apache.org>
Authored: Wed Nov 15 16:53:26 2017 +0000
Committer: Sebb <se...@apache.org>
Committed: Wed Nov 15 16:53:26 2017 +0000
----------------------------------------------------------------------
src/main/java/org/apache/commons/io/FilenameUtils.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-io/blob/
aafa3dca/src/main/java/org/apache/commons/io/FilenameUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FilenameUtils.java
b/src/main/java/org/apache/commons/io/FilenameUtils.java
index e6d6032..5acb67b 100644
--- a/src/main/java/org/apache/commons/io/FilenameUtils.java
+++ b/src/main/java/org/apache/commons/io/FilenameUtils.java
@@ -1293,9 +1293,9 @@ public class FilenameUtils {
}
/**
- * Checks whether the given character is illegal in a Windows file
names.
+ * Checks whether the given character is illegal in a Windows file
name.
* <p>
- * The illegal character are:
+ * The illegal characters are:
* </p>
* <ul>
* <li>< (less than</li>
@@ -1309,7 +1309,7 @@ public class FilenameUtils {
* <li>* (asterisk</li>
* <li>ASCII NUL (0)</li>
* <li>Integer characters 1 through 31</li>
- * <li>There may be other characters that the file name does not
allow. Please see
+ * <li>There may be other characters that the file system does not
allow. Please see
* <a href="https://msdn.microsoft.com/en-us/library/windows/
desktop/aa365247(v=vs.85).aspx">Naming Files, Paths,
* and Namespaces</a></li>
* </ul>
@@ -1318,7 +1318,7 @@ public class FilenameUtils {
* Paths, and Namespaces</a>
* @param c
* the character to check
- * @return whether the give character is legal
+ * @return {@code true} if the given character is illegal
* @since 2.7
*/
public static boolean isIllegalWindowsFileName(final char c) {