From 2d2e9e06218153e725310e1b24cefb870cda12cc Mon Sep 17 00:00:00 2001 From: Colin Goodheart-Smithe Date: Mon, 1 Feb 2016 13:57:38 +0000 Subject: [PATCH] fixed issue from merge --- .../search/aggregations/bucket/DiversifiedSamplerIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/test/java/org/elasticsearch/search/aggregations/bucket/DiversifiedSamplerIT.java b/core/src/test/java/org/elasticsearch/search/aggregations/bucket/DiversifiedSamplerIT.java index f7cbfa7fcb8..23b0513545c 100644 --- a/core/src/test/java/org/elasticsearch/search/aggregations/bucket/DiversifiedSamplerIT.java +++ b/core/src/test/java/org/elasticsearch/search/aggregations/bucket/DiversifiedSamplerIT.java @@ -215,7 +215,7 @@ public class DiversifiedSamplerIT extends ESIntegTestCase { .execute().actionGet(); assertSearchResponse(response); Sampler sample = response.getAggregations().get("sample"); - assertThat(sample.getDocCount(), greaterThan(0l)); + assertThat(sample.getDocCount(), greaterThan(0L)); Terms authors = sample.getAggregations().get("authors"); assertThat(authors.getBuckets().size(), greaterThan(0)); } @@ -230,7 +230,7 @@ public class DiversifiedSamplerIT extends ESIntegTestCase { .setQuery(new TermQueryBuilder("genre", "fantasy")).setFrom(0).setSize(60).addAggregation(sampleAgg).execute().actionGet(); assertSearchResponse(response); Sampler sample = response.getAggregations().get("sample"); - assertThat(sample.getDocCount(), equalTo(0l)); + assertThat(sample.getDocCount(), equalTo(0L)); Terms authors = sample.getAggregations().get("authors"); assertNull(authors); }