mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 18:16:28 +00:00
fix[zfoo]: maven compile warning
This commit is contained in:
1 parent
94e7e39e9b
commit
5bd66f4254
20 files changed
+94
-115
No files matched your search
@@ -61,7 +61,7 @@ public class EventRegisterProcessor implements BeanPostProcessor {
|
||||
if (!IEvent.class.isAssignableFrom(paramClazzs[0])) {
|
||||
throw new IllegalArgumentException(StringUtils.format("[class:{}] [method:{}] must have one [IEvent] type parameter!", bean.getClass().getName(), method.getName()));
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
var eventClazz = (Class<? extends IEvent>) paramClazzs[0];
|
||||
var eventName = eventClazz.getCanonicalName();
|
||||
var methodName = method.getName();
|
||||
|
||||
Reference in new issue
Block a user