diff --git a/core/src/main/java/org/elasticsearch/common/geo/builders/LineStringBuilder.java b/core/src/main/java/org/elasticsearch/common/geo/builders/LineStringBuilder.java index 1f16037cd0d..4542da436bd 100644 --- a/core/src/main/java/org/elasticsearch/common/geo/builders/LineStringBuilder.java +++ b/core/src/main/java/org/elasticsearch/common/geo/builders/LineStringBuilder.java @@ -42,7 +42,7 @@ public class LineStringBuilder extends CoordinateCollection { * Per GeoJSON spec (http://geojson.org/geojson-spec.html#linestring) * a LineString must contain two or more coordinates * @param coordinates the initial list of coordinates - * @throw {@link IllegalArgumentException} if there are less then two coordinates defined + * @throws IllegalArgumentException if there are less then two coordinates defined */ public LineStringBuilder(List coordinates) { super(coordinates);