You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/07/25 12:15:34 UTC
[commons-io] branch master updated: Better param name
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new cc1bc3ba Better param name
cc1bc3ba is described below
commit cc1bc3ba48707bdbe2f86063efcf82813498ffc5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jul 25 08:15:27 2022 -0400
Better param name
---
src/main/java/org/apache/commons/io/FilenameUtils.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/io/FilenameUtils.java b/src/main/java/org/apache/commons/io/FilenameUtils.java
index 88775013..19187e6e 100644
--- a/src/main/java/org/apache/commons/io/FilenameUtils.java
+++ b/src/main/java/org/apache/commons/io/FilenameUtils.java
@@ -442,17 +442,17 @@ public class FilenameUtils {
*
* @param fileName1 the first fileName to query, may be null
* @param fileName2 the second fileName to query, may be null
- * @param normalized whether to normalize the fileNames
+ * @param normalize whether to normalize the fileNames
* @param ioCase what case sensitivity rule to use, null means case-sensitive
* @return true if the fileNames are equal, null equals null
* @since 1.3
*/
- public static boolean equals(String fileName1, String fileName2, final boolean normalized, final IOCase ioCase) {
+ public static boolean equals(String fileName1, String fileName2, final boolean normalize, final IOCase ioCase) {
if (fileName1 == null || fileName2 == null) {
return fileName1 == null && fileName2 == null;
}
- if (normalized) {
+ if (normalize) {
fileName1 = normalize(fileName1);
if (fileName1 == null) {
return false;