mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
fix: 不显示数组为空异常信息。
This commit is contained in:
parent
bd16e6ee63
commit
5aa89d2092
@ -83,7 +83,7 @@ public final class FlexAssert {
|
||||
*/
|
||||
public static <T> void notEmpty(T[] array, String param) {
|
||||
if (array == null || array.length == 0) {
|
||||
throw FlexExceptions.wrap(param);
|
||||
throw FlexExceptions.wrap(LocalizedFormats.ARRAY_NULL_OR_EMPTY, param);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user