Skip to content

Commit f1d5bd4

Browse files
committed
Fix a little style problem.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@201611 13f79535-47bb-0310-9956-ffa450edef68
1 parent ae2354a commit f1d5bd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public static String concat(String basePath, String fullFilenameToAdd) {
297297
return normalize(fullFilenameToAdd);
298298
}
299299
char ch = basePath.charAt(len - 1);
300-
if (isSeparator(basePath.charAt(len - 1))) {
300+
if (isSeparator(ch)) {
301301
return normalize(basePath + fullFilenameToAdd);
302302
} else {
303303
return normalize(basePath + '/' + fullFilenameToAdd);

0 commit comments

Comments
 (0)