From 6760c67f2f20b04d2784c5f9405ad7981b908c19 Mon Sep 17 00:00:00 2001 From: Jim Ferenczi Date: Mon, 3 Jun 2024 18:39:35 +0100 Subject: [PATCH] spotlessApply --- .../org/elasticsearch/search/sort/AbstractSortTestCase.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/server/src/test/java/org/elasticsearch/search/sort/AbstractSortTestCase.java b/server/src/test/java/org/elasticsearch/search/sort/AbstractSortTestCase.java index edd04dab567eb..5fcd4eeeb2636 100644 --- a/server/src/test/java/org/elasticsearch/search/sort/AbstractSortTestCase.java +++ b/server/src/test/java/org/elasticsearch/search/sort/AbstractSortTestCase.java @@ -195,11 +195,7 @@ protected final SearchExecutionContext createMockSearchExecutionContext(IndexSea return builder.build(new IndexFieldDataCache.None(), null); }; NestedLookup nestedLookup = NestedLookup.build( - List.of( - new NestedObjectMapper.Builder("path", IndexVersion.current()).build( - MapperBuilderContext.root(false, false) - ) - ) + List.of(new NestedObjectMapper.Builder("path", IndexVersion.current()).build(MapperBuilderContext.root(false, false))) ); return new SearchExecutionContext( 0,