28
28
/**
29
29
* {@link GeoJson} representation of {@link Polygon}. Unlike {@link Polygon} the {@link GeoJsonPolygon} requires a
30
30
* closed border. Which means that the first and last {@link Point} have to have same coordinate pairs.
31
- *
31
+ *
32
32
* @author Christoph Strobl
33
33
* @since 1.7
34
34
* @see http://geojson.org/geojson-spec.html#polygon
@@ -42,7 +42,7 @@ public class GeoJsonPolygon extends Polygon implements GeoJson<List<GeoJsonLineS
42
42
43
43
/**
44
44
* Creates new {@link GeoJsonPolygon} from the given {@link Point}s.
45
- *
45
+ *
46
46
* @param first must not be {@literal null}.
47
47
* @param second must not be {@literal null}.
48
48
* @param third must not be {@literal null}.
@@ -55,7 +55,7 @@ public GeoJsonPolygon(Point first, Point second, Point third, Point fourth, fina
55
55
56
56
/**
57
57
* Creates new {@link GeoJsonPolygon} from the given {@link Point}s.
58
- *
58
+ *
59
59
* @param points must not be {@literal null}.
60
60
*/
61
61
public GeoJsonPolygon (List <Point > points ) {
@@ -73,7 +73,7 @@ public GeoJsonPolygon(List<Point> points) {
73
73
* @param fourth must not be {@literal null}.
74
74
* @param others can be {@literal null}.
75
75
* @return new {@link GeoJsonPolygon}.
76
- * @since 1.9
76
+ * @since 1.10
77
77
*/
78
78
public GeoJsonPolygon withInnerRing (Point first , Point second , Point third , Point fourth , final Point ... others ) {
79
79
return withInnerRing (asList (first , second , third , fourth , others ));
@@ -94,7 +94,7 @@ public GeoJsonPolygon withInnerRing(List<Point> points) {
94
94
*
95
95
* @param lineString must not be {@literal null}.
96
96
* @return new {@link GeoJsonPolygon}.
97
- * @since 1.9
97
+ * @since 1.10
98
98
*/
99
99
public GeoJsonPolygon withInnerRing (GeoJsonLineString lineString ) {
100
100
0 commit comments