Skip to content

Commit

Permalink
Make AllocatedPersistentTask.isCompleted() protected (#30949)
Browse files Browse the repository at this point in the history
This commit changes the isCompleted() method to be protected so that
classes that extends AllocatedPersistentTask can use it.

Related to #30858
  • Loading branch information
tlrx authored May 31, 2018
1 parent 8e4ab82 commit c415743
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void waitForPersistentTask(final Predicate<PersistentTasksCustomMetaData.
persistentTasksService.waitForPersistentTaskCondition(persistentTaskId, predicate, timeout, listener);
}

final boolean isCompleted() {
protected final boolean isCompleted() {
return state.get() == State.COMPLETED;
}

Expand Down

0 comments on commit c415743

Please sign in to comment.