Add missing Javadoc for Checkstyle.
MODIFY
src/main/java/org/apache/commons/io/FilenameUtils.java
src/main/java/org/apache/commons/io/FilenameUtils.java
@@ -1063,6 +1063,12 @@ public static String getExtension(final String filename) throws IllegalArgumentE
return filename.substring(index + 1);
}
+ /**
+ * Special handling for NTFS ADS: Don't accept colon in the filename.
+ *
+ * @param filename a file name
+ * @return ADS offsets.
+ */
private static int getAdsCriticalOffset(String filename) {
// Step 1: Remove leading path segments.
int offset1 = filename.lastIndexOf(SYSTEM_SEPARATOR);

Add missing Javadoc for Checkstyle.