chore: 工作区反编译与 Maven/文档/脚本同步到发布分支

- artifacts/decompiled 树与相关源码变更
- maven-cw-elevator-application 业务 docs 与 package-info
- scripts 下 formatter 校验与辅助脚本
- 其他子工程/接口与发布线一并纳入版本控制

Made-with: Cursor

Former-commit-id: e102e8cab64e575bcd23c9a66a598aa1892bb492
This commit is contained in:
反编译工作区
2026-04-25 09:35:35 +08:00
parent 1c28fcedfc
commit dee355b4a7
2000 changed files with 133077 additions and 169300 deletions
@@ -297,7 +297,8 @@ public class CloudwalkEventInitializing implements CommandLineRunner {
handlers.put("", new ArrayList<EventHandler>(Collections.singletonList((EventHandler)handler)));
} else {
for (String suffix : suffixes) {
handlers.put(suffix, new ArrayList<EventHandler>(Collections.singletonList((EventHandler)handler)));
handlers.put(suffix,
new ArrayList<EventHandler>(Collections.singletonList((EventHandler)handler)));
}
}
eventHandlerMapping.registerHandlers(groupId, eventType, handlers);
@@ -333,12 +334,10 @@ public class CloudwalkEventInitializing implements CommandLineRunner {
customHandlers = new HashMap<>();
if (StringUtils.isEmpty(topic)) {
customHandlers.put("",
new ArrayList<CustomEventHandler>(
Collections.singletonList((CustomEventHandler)handler)));
new ArrayList<CustomEventHandler>(Collections.singletonList((CustomEventHandler)handler)));
} else {
customHandlers.put(serviceCode,
new ArrayList<CustomEventHandler>(
Collections.singletonList((CustomEventHandler)handler)));
new ArrayList<CustomEventHandler>(Collections.singletonList((CustomEventHandler)handler)));
}
eventHandlerMapping.registerCustomHandlers(groupId, topic, customHandlers);
continue;
@@ -31,9 +31,8 @@ public class CloudwalkEventManager {
public void handle(Class<? extends GroupEventListener> eventListnerClass, BaseEvent baseEvent) {
String groupId = this.groupListnerClassMapping.getGroupId(eventListnerClass);
if (baseEvent instanceof CustomEvent) {
Map<String, List<CustomEventHandler>> customByServiceCode =
this.eventHandlerMapping.getServiceCodeCustomHandlerListMap(groupId,
((CustomEvent)baseEvent).getTopic());
Map<String, List<CustomEventHandler>> customByServiceCode = this.eventHandlerMapping
.getServiceCodeCustomHandlerListMap(groupId, ((CustomEvent)baseEvent).getTopic());
if (customByServiceCode == null) {
customByServiceCode = Collections.emptyMap();
}
@@ -47,8 +46,7 @@ public class CloudwalkEventManager {
if (handlerByServiceCode == null) {
handlerByServiceCode = Collections.emptyMap();
}
List<EventHandler> handlerList =
(List<EventHandler>)handlerByServiceCode.get(baseEvent.getServiceCode());
List<EventHandler> handlerList = (List<EventHandler>)handlerByServiceCode.get(baseEvent.getServiceCode());
eventHandle(baseEvent, handlerList);
}