Skip to content

Commit 90b2e46

Browse files
committed
Add missing Javadoc for Checkstyle.
1 parent 276b282 commit 90b2e46

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,12 @@ public static String getExtension(final String filename) throws IllegalArgumentE
10631063
return filename.substring(index + 1);
10641064
}
10651065

1066+
/**
1067+
* Special handling for NTFS ADS: Don't accept colon in the filename.
1068+
*
1069+
* @param filename a file name
1070+
* @return ADS offsets.
1071+
*/
10661072
private static int getAdsCriticalOffset(String filename) {
10671073
// Step 1: Remove leading path segments.
10681074
int offset1 = filename.lastIndexOf(SYSTEM_SEPARATOR);

0 commit comments

Comments
 (0)