[New] Allow to set PLANNED to ERROR

This commit is contained in:
Robert von Burg 2020-07-27 17:14:25 +02:00
parent a59a133cca
commit 2c23d0ce6b
1 changed files with 2 additions and 2 deletions

View File

@ -206,10 +206,10 @@ public enum State {
}
/**
* @return true if {@link #EXECUTION} or {@link #WARNING} or {@link #ERROR}
* @return true if {@link #PLANNED} or {@link #EXECUTION} or {@link #WARNING} or {@link #ERROR}
*/
public boolean canSetToError() {
return this == EXECUTION || this == WARNING || this == ERROR;
return this == PLANNED || this == EXECUTION || this == WARNING || this == ERROR;
}
/**