[Minor] State.WARNING is also isInExecution()

This commit is contained in:
Robert von Burg 2021-08-12 17:02:06 +02:00
parent 9c11f4502e
commit ae3b1954a1
1 changed files with 2 additions and 2 deletions

View File

@ -115,10 +115,10 @@ public enum State {
}
/**
* @return true if the state is {@link #EXECUTION}
* @return true if the state is {@link #EXECUTION} or {@link #WARNING}
*/
public boolean isInExecution() {
return this == EXECUTION;
return this == EXECUTION || this == WARNING;
}
/**