diff --git a/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHull2D.java b/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHull2D.java index 39a6fc3c8..0a1587a21 100644 --- a/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHull2D.java +++ b/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHull2D.java @@ -79,7 +79,7 @@ public class ConvexHull2D implements ConvexHull, Serializ } } - @Override + /** {@inheritDoc} */ public Vector2D[] getVertices() { return vertices.clone(); } @@ -92,7 +92,7 @@ public class ConvexHull2D implements ConvexHull, Serializ return lineSegments.clone(); } - @Override + /** {@inheritDoc} */ public Region createRegion() throws InsufficientDataException { if (vertices.length < 3) { throw new InsufficientDataException(); diff --git a/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHullGenerator2D.java b/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHullGenerator2D.java index 536341eac..f9021a34b 100644 --- a/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHullGenerator2D.java +++ b/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHullGenerator2D.java @@ -31,7 +31,7 @@ import org.apache.commons.math3.geometry.hull.ConvexHullGenerator; */ public interface ConvexHullGenerator2D extends ConvexHullGenerator { - @Override + /** {@inheritDoc} */ ConvexHull2D generate(Collection points) throws NullArgumentException; } diff --git a/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/AklToussaintHeuristicTest.java b/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/AklToussaintHeuristicTest.java index f3fb4d76c..d5cfa27e2 100644 --- a/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/AklToussaintHeuristicTest.java +++ b/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/AklToussaintHeuristicTest.java @@ -26,6 +26,7 @@ import org.apache.commons.math3.geometry.euclidean.twod.Vector2D; */ public class AklToussaintHeuristicTest extends ConvexHullGenerator2DAbstractTest { + @Override protected ConvexHullGenerator2D createConvexHullGenerator() { return new GrahamScan(); } diff --git a/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/GrahamScanTest.java b/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/GrahamScanTest.java index 8ee32a112..f0a4fe7c1 100644 --- a/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/GrahamScanTest.java +++ b/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/GrahamScanTest.java @@ -29,6 +29,7 @@ import org.junit.Test; */ public class GrahamScanTest extends ConvexHullGenerator2DAbstractTest { + @Override protected ConvexHullGenerator2D createConvexHullGenerator() { return new GrahamScan(); } diff --git a/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/MonotoneChainTest.java b/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/MonotoneChainTest.java index de2b7cf72..78f6c0eff 100644 --- a/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/MonotoneChainTest.java +++ b/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/MonotoneChainTest.java @@ -22,6 +22,7 @@ package org.apache.commons.math3.geometry.euclidean.twod.hull; */ public class MonotoneChainTest extends ConvexHullGenerator2DAbstractTest { + @Override protected ConvexHullGenerator2D createConvexHullGenerator() { return new MonotoneChain(); }