Make AllocatedPersistentTask.isCompleted() protected (#30949)
This commit changes the isCompleted() method to be protected so that classes that extends AllocatedPersistentTask can use it. Related to #30858
This commit is contained in:
parent
8e4ab82e3d
commit
c41574376f
|
@ -115,7 +115,7 @@ public class AllocatedPersistentTask extends CancellableTask {
|
|||
persistentTasksService.waitForPersistentTaskCondition(persistentTaskId, predicate, timeout, listener);
|
||||
}
|
||||
|
||||
final boolean isCompleted() {
|
||||
protected final boolean isCompleted() {
|
||||
return state.get() == State.COMPLETED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue