fixed compilation error on jdk7

This commit is contained in:
uboness 2014-01-28 13:59:35 +01:00
parent b21b7ac40f
commit 2ba2fb193d
2 changed files with 3 additions and 3 deletions

View File

@ -66,8 +66,8 @@ public class InternalHistogram<B extends InternalHistogram.Bucket> 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;

View File

@ -62,7 +62,7 @@ public class InternalRange<B extends InternalRange.Bucket> 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;