Use final
This commit is contained in:
parent
422948794e
commit
0cb4e4cc97
|
@ -3636,7 +3636,7 @@ public class StringUtils {
|
||||||
boolean containsLowercase = false;
|
boolean containsLowercase = false;
|
||||||
final int sz = cs.length();
|
final int sz = cs.length();
|
||||||
for (int i = 0; i < sz; i++) {
|
for (int i = 0; i < sz; i++) {
|
||||||
char nowChar = cs.charAt(i);
|
final char nowChar = cs.charAt(i);
|
||||||
if (Character.isUpperCase(nowChar)) {
|
if (Character.isUpperCase(nowChar)) {
|
||||||
containsUppercase = true;
|
containsUppercase = true;
|
||||||
} else if (Character.isLowerCase(nowChar)) {
|
} else if (Character.isLowerCase(nowChar)) {
|
||||||
|
|
Loading…
Reference in New Issue