diff --git a/dsl/decider/src/main/java/org/occurrent/dsl/decider/Decider.java b/dsl/decider/src/main/java/org/occurrent/dsl/decider/Decider.java index 91cbbd296..83839b12f 100644 --- a/dsl/decider/src/main/java/org/occurrent/dsl/decider/Decider.java +++ b/dsl/decider/src/main/java/org/occurrent/dsl/decider/Decider.java @@ -30,7 +30,7 @@ public interface Decider { @NotNull List decide(@NotNull C command, @Nullable S state); - @NotNull S evolve(@Nullable S state, @NotNull E event); + @Nullable S evolve(@Nullable S state, @NotNull E event); default boolean isTerminal(@Nullable S state) { return false;