From 2ba2fb193d51da18ee183e326b75d4600775a529 Mon Sep 17 00:00:00 2001 From: uboness Date: Tue, 28 Jan 2014 13:59:35 +0100 Subject: [PATCH] fixed compilation error on jdk7 --- .../aggregations/bucket/histogram/InternalHistogram.java | 4 ++-- .../search/aggregations/bucket/range/InternalRange.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/InternalHistogram.java b/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/InternalHistogram.java index 00186954800..995a9d887bc 100644 --- a/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/InternalHistogram.java +++ b/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/InternalHistogram.java @@ -66,8 +66,8 @@ public class InternalHistogram extends Inter public static class Bucket implements Histogram.Bucket { long key; - private long docCount; - private InternalAggregations aggregations; + long docCount; + InternalAggregations aggregations; public Bucket(long key, long docCount, InternalAggregations aggregations) { this.key = key; diff --git a/src/main/java/org/elasticsearch/search/aggregations/bucket/range/InternalRange.java b/src/main/java/org/elasticsearch/search/aggregations/bucket/range/InternalRange.java index d57aa22dc25..95a5f4d9051 100644 --- a/src/main/java/org/elasticsearch/search/aggregations/bucket/range/InternalRange.java +++ b/src/main/java/org/elasticsearch/search/aggregations/bucket/range/InternalRange.java @@ -62,7 +62,7 @@ public class InternalRange extends InternalAggre private double from = Double.NEGATIVE_INFINITY; private double to = Double.POSITIVE_INFINITY; private long docCount; - private InternalAggregations aggregations; + InternalAggregations aggregations; private String key; private boolean explicitKey;