From 343053c0a7fd35b8f30f020e8c92667c30c2811c Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Wed, 15 Jul 2020 19:56:04 -0400 Subject: [PATCH] Fix compilation in Eclipse (backport #59675) Eclipse was confused by #59583. It can't see a the public inner interface within the superclass. This time. Usually that is fine, but the Eclipse gods don't like this particular code, I guess. --- .../org/elasticsearch/index/mapper/GeoPointFieldMapper.java | 4 +++- .../xpack/spatial/index/mapper/PointFieldMapper.java | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/index/mapper/GeoPointFieldMapper.java b/server/src/main/java/org/elasticsearch/index/mapper/GeoPointFieldMapper.java index aec585ad615..5f1b7013037 100644 --- a/server/src/main/java/org/elasticsearch/index/mapper/GeoPointFieldMapper.java +++ b/server/src/main/java/org/elasticsearch/index/mapper/GeoPointFieldMapper.java @@ -186,7 +186,9 @@ public class GeoPointFieldMapper extends AbstractPointGeometryFieldMapper 90.0 || lat() < -90.0) { diff --git a/x-pack/plugin/spatial/src/main/java/org/elasticsearch/xpack/spatial/index/mapper/PointFieldMapper.java b/x-pack/plugin/spatial/src/main/java/org/elasticsearch/xpack/spatial/index/mapper/PointFieldMapper.java index c34fc29ca1a..556bb4c636d 100644 --- a/x-pack/plugin/spatial/src/main/java/org/elasticsearch/xpack/spatial/index/mapper/PointFieldMapper.java +++ b/x-pack/plugin/spatial/src/main/java/org/elasticsearch/xpack/spatial/index/mapper/PointFieldMapper.java @@ -136,7 +136,9 @@ public class PointFieldMapper extends AbstractPointGeometryFieldMapper