Skip to content

Commit c415743

Browse files
authored
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
1 parent 8e4ab82 commit c415743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/persistent/AllocatedPersistentTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public void waitForPersistentTask(final Predicate<PersistentTasksCustomMetaData.
115115
persistentTasksService.waitForPersistentTaskCondition(persistentTaskId, predicate, timeout, listener);
116116
}
117117

118-
final boolean isCompleted() {
118+
protected final boolean isCompleted() {
119119
return state.get() == State.COMPLETED;
120120
}
121121

0 commit comments

Comments
 (0)