fixed merge errors
This commit is contained in:
parent
2b5aa09ccf
commit
210be978b1
|
@ -182,7 +182,7 @@ public class StatsAggregator extends NumericMetricsAggregator.MultiValue {
|
||||||
@Override
|
@Override
|
||||||
protected ValuesSourceAggregatorFactory<Numeric> innerReadFrom(String name, ValuesSourceType valuesSourceType,
|
protected ValuesSourceAggregatorFactory<Numeric> innerReadFrom(String name, ValuesSourceType valuesSourceType,
|
||||||
ValueType targetValueType, StreamInput in) {
|
ValueType targetValueType, StreamInput in) {
|
||||||
return new StatsAggegator.Factory(name);
|
return new StatsAggregator.Factory(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -19,13 +19,13 @@
|
||||||
|
|
||||||
package org.elasticsearch.search.aggregations.metrics;
|
package org.elasticsearch.search.aggregations.metrics;
|
||||||
|
|
||||||
import org.elasticsearch.search.aggregations.metrics.stats.StatsAggegator;
|
import org.elasticsearch.search.aggregations.metrics.stats.StatsAggregator;
|
||||||
|
|
||||||
public class StatsTests extends AbstractNumericMetricTestCase<StatsAggegator.Factory> {
|
public class StatsTests extends AbstractNumericMetricTestCase<StatsAggregator.Factory> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected StatsAggegator.Factory doCreateTestAggregatorFactory() {
|
protected StatsAggregator.Factory doCreateTestAggregatorFactory() {
|
||||||
return new StatsAggegator.Factory("foo");
|
return new StatsAggregator.Factory("foo");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue