diff --git a/core/src/test/java/org/elasticsearch/search/aggregations/bucket/FiltersIT.java b/core/src/test/java/org/elasticsearch/search/aggregations/bucket/FiltersIT.java index a562f7c842a..afc431f9c68 100644 --- a/core/src/test/java/org/elasticsearch/search/aggregations/bucket/FiltersIT.java +++ b/core/src/test/java/org/elasticsearch/search/aggregations/bucket/FiltersIT.java @@ -439,7 +439,8 @@ public class FiltersIT extends ESIntegTestCase { SearchResponse searchResponse = client().prepareSearch("empty_bucket_idx") .setQuery(matchAllQuery()) .addAggregation(histogram("histo").field("value").interval(1L).minDocCount(0) - .subAggregation(filters("filters", new KeyedFilter("foo", matchAllQuery())).otherBucket(true).otherBucketKey("bar"))) + .subAggregation(filters("filters", new KeyedFilter("foo", matchAllQuery())) + .otherBucket(true).otherBucketKey("bar"))) .execute().actionGet(); assertThat(searchResponse.getHits().getTotalHits(), equalTo(2L));