Skip to content

Commit

Permalink
Removed unused constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben authored and Ben committed Sep 30, 2014
1 parent ef99f2a commit 7e9d599
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/com/github/countrycode/reverse/Polygon.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,12 @@

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;

class Polygon implements Geometry {

private final LinearRing ring;
private final Iterable<LinearRing> holes;

public Polygon(LinearRing ring) {
this(ring, Collections.<LinearRing> emptyList());
}

public Polygon(LinearRing ring, Collection<LinearRing> holes) {
this.ring = ring;
this.holes = new ArrayList<>(holes);
Expand Down

0 comments on commit 7e9d599

Please sign in to comment.