Skip to content

Commit

Permalink
[CI] Auto commit changes from spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticsearchmachine committed Dec 16, 2024
1 parent f0c4236 commit 44a5132
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,12 @@ public ActionRequestValidationException validate(
if (innerRetriever.retriever() instanceof CompoundRetrieverBuilder<?> compoundChild) {
if (rankWindowSize > compoundChild.rankWindowSize) {
String errorMessage = String.format(
Locale.ROOT,
"[%s] requires [rank_window_size: %d] to be smaller than or equal to its sub retriever's %s [rank_window_size: %d]",
this.getName(),
rankWindowSize,
compoundChild.getName(),
compoundChild.rankWindowSize
Locale.ROOT,
"[%s] requires [rank_window_size: %d] to be smaller than or equal to its sub retriever's %s [rank_window_size: %d]",
this.getName(),
rankWindowSize,
compoundChild.getName(),
compoundChild.rankWindowSize
);
validationException = addValidationError(errorMessage, validationException);
}
Expand Down

0 comments on commit 44a5132

Please sign in to comment.