Simplify boolean expression

This commit is contained in:
Benedikt Ritter 2015-07-24 13:06:47 +02:00
parent 17a6d163c6
commit 5fb158cc05
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}