Skip to content

Commit

Permalink
Remove duplicate condition in GeoConverters.
Browse files Browse the repository at this point in the history
Closes: #3981
  • Loading branch information
sangyongchoi authored and christophstrobl committed Mar 3, 2022
1 parent 67cf7b8 commit f340149
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -482,11 +482,6 @@ public Document convert(GeoCommand source) {
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()) {
Expand Down

0 comments on commit f340149

Please sign in to comment.