Skip to content

Commit

Permalink
Make Job.setDeleting package private and fix logging error
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitris-athanasiou committed Sep 27, 2018
1 parent 2ad8c9f commit 2cfddfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ public Builder setResultsIndexName(String resultsIndexName) {
return this;
}

public Builder setDeleting(Boolean deleting) {
Builder setDeleting(Boolean deleting) {
this.deleting = deleting;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private void notifyListeners(String jobId, @Nullable AcknowledgedResponse ack, @
synchronized (listenersByJobId) {
List<ActionListener<AcknowledgedResponse>> listeners = listenersByJobId.remove(jobId);
if (listeners == null) {
logger.error("[{}] No deletion job listeners could be found");
logger.error("[{}] No deletion job listeners could be found", jobId);
return;
}
for (ActionListener<AcknowledgedResponse> listener : listeners) {
Expand Down

0 comments on commit 2cfddfc

Please sign in to comment.