mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-24 18:04:54 +08:00
fix code
This commit is contained in:
parent
ed776e1231
commit
060ec1411e
@ -3268,7 +3268,7 @@ public class CharSequenceUtil extends StrValidator {
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public static <T extends CharSequence> T firstNonEmpty(final T... strs) {
|
||||
return ArrayUtil.firstMatch(StrUtil::isNotEmpty, strs);
|
||||
return ArrayUtil.firstMatch(CharSequenceUtil::isNotEmpty, strs);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -3282,7 +3282,7 @@ public class CharSequenceUtil extends StrValidator {
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public static <T extends CharSequence> T firstNonBlank(final T... strs) {
|
||||
return ArrayUtil.firstMatch(StrUtil::isNotBlank, strs);
|
||||
return ArrayUtil.firstMatch(CharSequenceUtil::isNotBlank, strs);
|
||||
}
|
||||
// endregion
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user