summaryrefslogtreecommitdiff
path: root/core/src/main/java/org/elasticsearch/search/aggregations/metrics
diff options
context:
space:
mode:
authorChristoph Büscher <christoph@elastic.co>2017-04-28 16:55:01 +0200
committerChristoph Büscher <christoph@elastic.co>2017-04-28 16:55:07 +0200
commiteb002340d7786bb2da54e3b419eefa69ce47a524 (patch)
treed6e8c74495af4dfeff51b4071756dabe39e2e098 /core/src/main/java/org/elasticsearch/search/aggregations/metrics
parent16a7cbe4635747909f4112eb4e162fb40cef9da6 (diff)
Don't render InternalGeoCentroid in static helper method
This was introduced by a previous commit but is not necessary.
Diffstat (limited to 'core/src/main/java/org/elasticsearch/search/aggregations/metrics')
-rw-r--r--core/src/main/java/org/elasticsearch/search/aggregations/metrics/geocentroid/InternalGeoCentroid.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/src/main/java/org/elasticsearch/search/aggregations/metrics/geocentroid/InternalGeoCentroid.java b/core/src/main/java/org/elasticsearch/search/aggregations/metrics/geocentroid/InternalGeoCentroid.java
index c5578813c8..accf210345 100644
--- a/core/src/main/java/org/elasticsearch/search/aggregations/metrics/geocentroid/InternalGeoCentroid.java
+++ b/core/src/main/java/org/elasticsearch/search/aggregations/metrics/geocentroid/InternalGeoCentroid.java
@@ -156,10 +156,6 @@ public class InternalGeoCentroid extends InternalAggregation implements GeoCentr
@Override
public XContentBuilder doXContentBody(XContentBuilder builder, Params params) throws IOException {
- return renderXContent(builder, params, centroid, count);
- }
-
- static XContentBuilder renderXContent(XContentBuilder builder, Params params, GeoPoint centroid, long count) throws IOException {
if (centroid != null) {
builder.startObject(Fields.CENTROID.getPreferredName());
{