Skip to content

Commit aafa3dc

Browse files
committed
Typos and clarifications
1 parent 2196ff6 commit aafa3dc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,9 +1293,9 @@ public static boolean isExtension(final String filename, final Collection<String
12931293
}
12941294

12951295
/**
1296-
* Checks whether the given character is illegal in a Windows file names.
1296+
* Checks whether the given character is illegal in a Windows file name.
12971297
* <p>
1298-
* The illegal character are:
1298+
* The illegal characters are:
12991299
* </p>
13001300
* <ul>
13011301
* <li>< (less than</li>
@@ -1309,7 +1309,7 @@ public static boolean isExtension(final String filename, final Collection<String
13091309
* <li>* (asterisk</li>
13101310
* <li>ASCII NUL (0)</li>
13111311
* <li>Integer characters 1 through 31</li>
1312-
* <li>There may be other characters that the file name does not allow. Please see
1312+
* <li>There may be other characters that the file system does not allow. Please see
13131313
* <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx">Naming Files, Paths,
13141314
* and Namespaces</a></li>
13151315
* </ul>
@@ -1318,7 +1318,7 @@ public static boolean isExtension(final String filename, final Collection<String
13181318
* Paths, and Namespaces</a>
13191319
* @param c
13201320
* the character to check
1321-
* @return whether the give character is legal
1321+
* @return {@code true} if the given character is illegal
13221322
* @since 2.7
13231323
*/
13241324
public static boolean isIllegalWindowsFileName(final char c) {

0 commit comments

Comments
 (0)