diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index ae9752337..71697a97e 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -3636,7 +3636,7 @@ public class StringUtils { boolean containsLowercase = false; final int sz = cs.length(); for (int i = 0; i < sz; i++) { - char nowChar = cs.charAt(i); + final char nowChar = cs.charAt(i); if (Character.isUpperCase(nowChar)) { containsUppercase = true; } else if (Character.isLowerCase(nowChar)) {