You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2017/11/15 15:46:44 UTC

commons-io git commit: [IO-553] Add org.apache.commons.io.FilenameUtils.isIllegalWindowsFileName(char). Javadoc.

Repository: commons-io
Updated Branches:
  refs/heads/master 06033035f -> 2196ff68d


[IO-553] Add
org.apache.commons.io.FilenameUtils.isIllegalWindowsFileName(char).
Javadoc.

Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/2196ff68
Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/2196ff68
Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/2196ff68

Branch: refs/heads/master
Commit: 2196ff68d3f53213f3d07e38928805920089a03b
Parents: 0603303
Author: Gary Gregory <gg...@apache.org>
Authored: Wed Nov 15 08:46:42 2017 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Wed Nov 15 08:46:42 2017 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/commons/io/FilenameUtils.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-io/blob/2196ff68/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 bf91bcb..e6d6032 100644
--- a/src/main/java/org/apache/commons/io/FilenameUtils.java
+++ b/src/main/java/org/apache/commons/io/FilenameUtils.java
@@ -1309,11 +1309,15 @@ 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
+     * <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx">Naming Files, Paths,
+     * and Namespaces</a></li>
      * </ul>
      * 
      * @see <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx">Naming Files,
      *      Paths, and Namespaces</a>
-     * @param c the character to check
+     * @param c
+     *            the character to check
      * @return whether the give character is legal
      * @since 2.7
      */