diff --git a/li.strolch.model/src/main/java/li/strolch/model/State.java b/li.strolch.model/src/main/java/li/strolch/model/State.java index 38f6a1fe1..2b02b3c98 100644 --- a/li.strolch.model/src/main/java/li/strolch/model/State.java +++ b/li.strolch.model/src/main/java/li/strolch/model/State.java @@ -136,7 +136,7 @@ public enum State { * @return true if the state is {@link #EXECUTED} */ public boolean isExecuted() { - return this == EXECUTED; + return this == EXECUTED || this == CLOSED; } /** @@ -275,5 +275,4 @@ public enum State { // should never happen, unless new state is introduced throw new IllegalStateException("Unhandled situation with states: " + states.stream().map(e -> e.state) .collect(Collectors.joining(", "))); - } -} + }}