mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-12 10:14:30 +00:00
perf[event]: 删除无用代码
This commit is contained in:
1 parent
9d6cf9a830
commit
46aa720dc1
1 file changed
-3
@@ -69,9 +69,6 @@ public class EventContext implements ApplicationListener<ApplicationContextEvent
|
||||
@Override
|
||||
public void onApplicationEvent(ApplicationContextEvent event) {
|
||||
if (event instanceof ContextRefreshedEvent) {
|
||||
if (instance != null) {
|
||||
return;
|
||||
}
|
||||
// 初始化上下文
|
||||
EventContext.instance = this;
|
||||
instance.applicationContext = event.getApplicationContext();
|
||||
|
||||
Reference in new issue
Block a user