This commit is contained in:
Gary Gregory 2020-11-17 15:19:06 -05:00
commit f2480a984f
1 changed files with 16 additions and 16 deletions

View File

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