From 44a513254bcd49349d72f9a8403aeed043049159 Mon Sep 17 00:00:00 2001 From: elasticsearchmachine Date: Mon, 16 Dec 2024 11:28:58 +0000 Subject: [PATCH] [CI] Auto commit changes from spotless --- .../search/retriever/CompoundRetrieverBuilder.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/search/retriever/CompoundRetrieverBuilder.java b/server/src/main/java/org/elasticsearch/search/retriever/CompoundRetrieverBuilder.java index cedbf9e1e75c3..1e18f0ac18abb 100644 --- a/server/src/main/java/org/elasticsearch/search/retriever/CompoundRetrieverBuilder.java +++ b/server/src/main/java/org/elasticsearch/search/retriever/CompoundRetrieverBuilder.java @@ -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); }