From 8fa5f9b92394daad22b3f6b6791d95d055d8c5b2 Mon Sep 17 00:00:00 2001 From: Sandesh Kumar Date: Mon, 26 Feb 2024 16:05:42 -0800 Subject: [PATCH] Spotless in framework Signed-off-by: Sandesh Kumar --- .../opensearch/search/aggregations/AggregatorTestCase.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/framework/src/main/java/org/opensearch/search/aggregations/AggregatorTestCase.java b/test/framework/src/main/java/org/opensearch/search/aggregations/AggregatorTestCase.java index ec928e1122bb3..9fdae80bd1ada 100644 --- a/test/framework/src/main/java/org/opensearch/search/aggregations/AggregatorTestCase.java +++ b/test/framework/src/main/java/org/opensearch/search/aggregations/AggregatorTestCase.java @@ -124,7 +124,6 @@ import org.opensearch.search.aggregations.AggregatorFactories.Builder; import org.opensearch.search.aggregations.MultiBucketConsumerService.MultiBucketConsumer; import org.opensearch.search.aggregations.bucket.nested.NestedAggregationBuilder; -import org.opensearch.search.aggregations.bucket.terms.TermsAggregator; import org.opensearch.search.aggregations.metrics.MetricsAggregator; import org.opensearch.search.aggregations.pipeline.PipelineAggregator; import org.opensearch.search.aggregations.pipeline.PipelineAggregator.PipelineTree; @@ -194,8 +193,9 @@ public abstract class AggregatorTestCase extends OpenSearchTestCase { // using NOOP_POST_COLLECTION_CONSUMER ensures that the bucket count in aggregation is completed before/without running postCollection() protected static final Consumer NOOP_POST_COLLECTION = termsAggregator -> {}; - protected static final TriConsumer ADD_SORTED_FIELD_NO_STORE = (document, field, value) -> - document.add(new SortedSetDocValuesField(field, new BytesRef(value))); + protected static final TriConsumer ADD_SORTED_FIELD_NO_STORE = (document, field, value) -> document.add( + new SortedSetDocValuesField(field, new BytesRef(value)) + ); protected static final TriConsumer ADD_SORTED_FIELD_STORE = (document, field, value) -> { document.add(new SortedSetDocValuesField(field, new BytesRef(value)));