fix: 并发性当前状态获取异常、代码调整.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user