fixed compilation error on jdk7
This commit is contained in:
parent
b21b7ac40f
commit
2ba2fb193d
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue