fix: 并发性当前状态获取异常、代码调整.

This commit is contained in:
2025-02-06 15:33:31 +08:00
parent 3a4db562ce
commit 30e37e6630
3 changed files with 10 additions and 10 deletions

View File

@@ -143,8 +143,8 @@ public class DefaultConcurrentStateMachine<S> extends AbstractStateMachine<S> im
}
@Override
public void publish(Object event) {
public S current() {
return get(index.get());
}
/**