Fix formatting of isAnyBlank() and isAnyEmpty(). (#513)

This commit is contained in:
Isira Seneviratne 2020-11-18 01:47:57 +05:30 committed by GitHub
parent 412f1e13c9
commit 5f3a9a6eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 16 deletions

View File

@ -3463,15 +3463,15 @@ public class StringUtils {
* @since 3.2
*/
public static boolean isAnyBlank(final CharSequence... css) {
if (ArrayUtils.isEmpty(css)) {
return false;
}
for (final CharSequence cs : css) {
if (isBlank(cs)) {
return true;
if (ArrayUtils.isEmpty(css)) {
return false;
}
}
return false;
for (final CharSequence cs : css) {
if (isBlank(cs)) {
return true;
}
}
return false;
}
/**
@ -3495,15 +3495,15 @@ public class StringUtils {
* @since 3.2
*/
public static boolean isAnyEmpty(final CharSequence... css) {
if (ArrayUtils.isEmpty(css)) {
return false;
}
for (final CharSequence cs : css) {
if (isEmpty(cs)) {
return true;
if (ArrayUtils.isEmpty(css)) {
return false;
}
}
return false;
for (final CharSequence cs : css) {
if (isEmpty(cs)) {
return true;
}
}
return false;
}
/**