diff --git a/modules/core/src/main/java/org/locationtech/jts/geom/CoordinateList.java b/modules/core/src/main/java/org/locationtech/jts/geom/CoordinateList.java index 4c7e5997a..263b47eed 100644 --- a/modules/core/src/main/java/org/locationtech/jts/geom/CoordinateList.java +++ b/modules/core/src/main/java/org/locationtech/jts/geom/CoordinateList.java @@ -202,9 +202,11 @@ public void closeRing() } } - /** Returns the Coordinates in this collection. + /** + * Returns the Coordinates in this list as an array. + * Coordinates are not copied * - * @return the coordinates + * @return the coordinate array */ public Coordinate[] toCoordinateArray() {