Remove duplicate condition in GeoConverters.

Closes: #3981
This commit is contained in:
sangyongchoi
2022-03-02 01:37:39 +09:00
committed by Christoph Strobl
parent e75f022844
commit e6fce75dfd

View File

@@ -438,11 +438,6 @@ abstract class GeoConverters {
argument.add(toList(((Circle) shape).getCenter()));
argument.add(((Circle) shape).getRadius().getNormalizedValue());
} else if (shape instanceof Circle) {
argument.add(toList(((Circle) shape).getCenter()));
argument.add(((Circle) shape).getRadius());
} else if (shape instanceof Polygon) {
for (Point point : ((Polygon) shape).getPoints()) {