Skip to content

Commit 63a1efe

Browse files
committed
Remove superfluous parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1198978 13f79535-47bb-0310-9956-ffa450edef68
1 parent 7fa02d1 commit 63a1efe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public static String normalize(String filename) {
247247
* @since Commons IO 2.0
248248
*/
249249
public static String normalize(String filename, boolean unixSeparator) {
250-
char separator = (unixSeparator ? UNIX_SEPARATOR : WINDOWS_SEPARATOR);
250+
char separator = unixSeparator ? UNIX_SEPARATOR : WINDOWS_SEPARATOR;
251251
return doNormalize(filename, separator, true);
252252
}
253253

0 commit comments

Comments
 (0)