We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a92cf2d commit 80bf25dCopy full SHA for 80bf25d
1 file changed
src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -3506,9 +3506,6 @@ public static boolean isAsciiPrintable(final CharSequence cs) {
3506
*/
3507
public static boolean isBlank(final CharSequence cs) {
3508
final int strLen = length(cs);
3509
- if (strLen == 0) {
3510
- return true;
3511
- }
3512
for (int i = 0; i < strLen; i++) {
3513
if (!Character.isWhitespace(cs.charAt(i))) {
3514
return false;
0 commit comments