Simplify boolean expression
This commit is contained in:
parent
17a6d163c6
commit
5fb158cc05
|
@ -6148,7 +6148,7 @@ public class StringUtils {
|
|||
}
|
||||
final int sz = cs.length();
|
||||
for (int i = 0; i < sz; i++) {
|
||||
if (Character.isDigit(cs.charAt(i)) == false) {
|
||||
if (!Character.isDigit(cs.charAt(i))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue