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 67cf7b8c3c
commit f3401493e5

View File

@@ -482,11 +482,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()) {