mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-14 06:03:42 +08:00
fix:解决会话列表UnsupportedOperationException的问题
This commit is contained in:
@@ -47,6 +47,13 @@ public class AssertUtil {
|
||||
}
|
||||
}
|
||||
|
||||
//如果不是非空对象,则抛异常
|
||||
public static void isNotEmpty(Object obj, ErrorEnum errorEnum, Object... args) {
|
||||
if (isEmpty(obj)) {
|
||||
throwException(errorEnum, args);
|
||||
}
|
||||
}
|
||||
|
||||
//如果不是非空对象,则抛异常
|
||||
public static void isEmpty(Object obj, String msg) {
|
||||
if (!isEmpty(obj)) {
|
||||
|
||||
Reference in New Issue
Block a user