Skip to content

Commit 5b5ede4

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 4c4dee6 commit 5b5ede4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

x-pack/plugin/search-business-rules/src/main/java/org/elasticsearch/xpack/searchbusinessrules/SearchBusinessRules.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77

88
package org.elasticsearch.xpack.searchbusinessrules;
99

10+
import org.elasticsearch.TransportVersion;
11+
import org.elasticsearch.TransportVersions;
1012
import org.elasticsearch.plugins.Plugin;
1113
import org.elasticsearch.plugins.SearchPlugin;
1214
import org.elasticsearch.plugins.SearchPlugin.QuerySpec;
1315
import org.elasticsearch.plugins.SearchPlugin.RetrieverSpec;
1416
import org.elasticsearch.xcontent.ParseField;
1517
import org.elasticsearch.xpack.searchbusinessrules.retriever.PinnedRetrieverBuilder;
16-
import org.elasticsearch.TransportVersion;
17-
import org.elasticsearch.TransportVersions;
1818

1919
import java.util.List;
2020

21-
import static java.util.Collections.singletonList;
2221
import static java.util.Collections.emptyList;
22+
import static java.util.Collections.singletonList;
2323

2424
public class SearchBusinessRules extends Plugin implements SearchPlugin {
2525

@@ -32,7 +32,7 @@ public List<QuerySpec<?>> getQueries() {
3232
public List<RetrieverSpec<?>> getRetrievers() {
3333
if (TransportVersion.current().onOrAfter(TransportVersions.PINNED_RETRIEVER)) {
3434
return singletonList(new RetrieverSpec<>(new ParseField(PinnedRetrieverBuilder.NAME), PinnedRetrieverBuilder::fromXContent));
35-
}
35+
}
3636
return emptyList();
3737
}
3838

0 commit comments

Comments
 (0)