Skip to content

Commit d24dd1a

Browse files
committed
Fix param names '*Filename*' -> '*FileName*' in code and Javadocs.
1 parent e4e03ef commit d24dd1a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -481,29 +481,29 @@ private static String doNormalize(final String fileName, final char separator, f
481481
* use {@link #getFullPath(String)} on the base path argument.
482482
*
483483
* @param basePath the base path to attach to, always treated as a path
484-
* @param fullFilenameToAdd the fileName (or path) to attach to the base
484+
* @param fullFileNameToAdd the fileName (or path) to attach to the base
485485
* @return the concatenated path, or null if invalid. Null bytes inside string will be removed
486486
*/
487-
public static String concat(final String basePath, final String fullFilenameToAdd) {
488-
final int prefix = getPrefixLength(fullFilenameToAdd);
487+
public static String concat(final String basePath, final String fullFileNameToAdd) {
488+
final int prefix = getPrefixLength(fullFileNameToAdd);
489489
if (prefix < 0) {
490490
return null;
491491
}
492492
if (prefix > 0) {
493-
return normalize(fullFilenameToAdd);
493+
return normalize(fullFileNameToAdd);
494494
}
495495
if (basePath == null) {
496496
return null;
497497
}
498498
final int len = basePath.length();
499499
if (len == 0) {
500-
return normalize(fullFilenameToAdd);
500+
return normalize(fullFileNameToAdd);
501501
}
502502
final char ch = basePath.charAt(len - 1);
503503
if (isSeparator(ch)) {
504-
return normalize(basePath + fullFilenameToAdd);
504+
return normalize(basePath + fullFileNameToAdd);
505505
}
506-
return normalize(basePath + '/' + fullFilenameToAdd);
506+
return normalize(basePath + '/' + fullFileNameToAdd);
507507
}
508508

509509
/**

0 commit comments

Comments
 (0)