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.
This commit is contained in:
parent
76fbe0a6d9
commit
343053c0a7
|
@ -186,7 +186,9 @@ public class GeoPointFieldMapper extends AbstractPointGeometryFieldMapper<List<P
|
|||
|
||||
}
|
||||
|
||||
protected static class ParsedGeoPoint extends GeoPoint implements ParsedPoint {
|
||||
// Eclipse requires the AbstractPointGeometryFieldMapper prefix or it can't find ParsedPoint
|
||||
// See https://bugs.eclipse.org/bugs/show_bug.cgi?id=565255
|
||||
protected static class ParsedGeoPoint extends GeoPoint implements AbstractPointGeometryFieldMapper.ParsedPoint {
|
||||
@Override
|
||||
public void validate(String fieldName) {
|
||||
if (lat() > 90.0 || lat() < -90.0) {
|
||||
|
|
|
@ -136,7 +136,9 @@ public class PointFieldMapper extends AbstractPointGeometryFieldMapper<List<Pars
|
|||
}
|
||||
}
|
||||
|
||||
protected static class ParsedCartesianPoint extends CartesianPoint implements ParsedPoint {
|
||||
// Eclipse requires the AbstractPointGeometryFieldMapper prefix or it can't find ParsedPoint
|
||||
// See https://bugs.eclipse.org/bugs/show_bug.cgi?id=565255
|
||||
protected static class ParsedCartesianPoint extends CartesianPoint implements AbstractPointGeometryFieldMapper.ParsedPoint {
|
||||
@Override
|
||||
public void validate(String fieldName) {
|
||||
if (Float.isFinite(getX()) == false) {
|
||||
|
|
Loading…
Reference in New Issue