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 7a24dcfdd6
commit 49e6d53641

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()) {