[Minor] State.WARNING is also isInExecution()
This commit is contained in:
parent
9c11f4502e
commit
ae3b1954a1
|
@ -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() {
|
public boolean isInExecution() {
|
||||||
return this == EXECUTION;
|
return this == EXECUTION || this == WARNING;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue