diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index a0f83a159..5f167b938 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -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; } }