@@ -137,7 +137,6 @@ public class FilenameUtils {
137137 public FilenameUtils () {
138138 }
139139
140- //-----------------------------------------------------------------------
141140 /**
142141 * Determines if Windows file system is in use.
143142 *
@@ -147,7 +146,6 @@ static boolean isSystemWindows() {
147146 return SYSTEM_SEPARATOR == WINDOWS_SEPARATOR ;
148147 }
149148
150- //-----------------------------------------------------------------------
151149 /**
152150 * Checks if the character is a separator.
153151 *
@@ -158,7 +156,6 @@ private static boolean isSeparator(final char ch) {
158156 return ch == UNIX_SEPARATOR || ch == WINDOWS_SEPARATOR ;
159157 }
160158
161- //-----------------------------------------------------------------------
162159 /**
163160 * Normalizes a path, removing double and single dot path steps.
164161 * <p>
@@ -251,7 +248,6 @@ public static String normalize(final String fileName, final boolean unixSeparato
251248 return doNormalize (fileName , separator , true );
252249 }
253250
254- //-----------------------------------------------------------------------
255251 /**
256252 * Normalizes a path, removing double and single dot path steps,
257253 * and removing any final directory separator.
@@ -451,7 +447,6 @@ private static String doNormalize(final String fileName, final char separator, f
451447 return new String (array , 0 , size - 1 ); // lose trailing separator
452448 }
453449
454- //-----------------------------------------------------------------------
455450 /**
456451 * Concatenates a fileName to a base path using normal command line style rules.
457452 * <p>
@@ -747,7 +742,6 @@ public static int indexOfExtension(final String fileName) throws IllegalArgument
747742 return lastSeparator > extensionPos ? NOT_FOUND : extensionPos ;
748743 }
749744
750- //-----------------------------------------------------------------------
751745 /**
752746 * Gets the prefix from a full fileName, such as {@code C:/}
753747 * or {@code ~/}.
@@ -1089,7 +1083,6 @@ private static int getAdsCriticalOffset(final String fileName) {
10891083 return Math .max (offset1 , offset2 ) + 1 ;
10901084 }
10911085
1092- //-----------------------------------------------------------------------
10931086 /**
10941087 * Removes the extension from a fileName.
10951088 * <p>
@@ -1120,7 +1113,6 @@ public static String removeExtension(final String fileName) {
11201113 return fileName .substring (0 , index );
11211114 }
11221115
1123- //-----------------------------------------------------------------------
11241116 /**
11251117 * Checks whether two fileNames are equal exactly.
11261118 * <p>
@@ -1151,7 +1143,6 @@ public static boolean equalsOnSystem(final String fileName1, final String fileNa
11511143 return equals (fileName1 , fileName2 , false , IOCase .SYSTEM );
11521144 }
11531145
1154- //-----------------------------------------------------------------------
11551146 /**
11561147 * Checks whether two fileNames are equal after both have been normalized.
11571148 * <p>
@@ -1218,7 +1209,6 @@ public static boolean equals(
12181209 return caseSensitivity .checkEquals (fileName1 , fileName2 );
12191210 }
12201211
1221- //-----------------------------------------------------------------------
12221212 /**
12231213 * Checks whether the extension of the fileName is that specified.
12241214 * <p>
@@ -1304,7 +1294,6 @@ public static boolean isExtension(final String fileName, final Collection<String
13041294 return false ;
13051295 }
13061296
1307- //-----------------------------------------------------------------------
13081297 /**
13091298 * Checks a fileName to see if it matches the specified wildcard matcher,
13101299 * always testing case-sensitive.
0 commit comments