Apply @Override rules for java 1.5
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563402 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9dc30fddc1
commit
764f56955d
|
@ -79,7 +79,7 @@ public class ConvexHull2D implements ConvexHull<Euclidean2D, Vector2D>, Serializ
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
/** {@inheritDoc} */
|
||||
public Vector2D[] getVertices() {
|
||||
return vertices.clone();
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ public class ConvexHull2D implements ConvexHull<Euclidean2D, Vector2D>, Serializ
|
|||
return lineSegments.clone();
|
||||
}
|
||||
|
||||
@Override
|
||||
/** {@inheritDoc} */
|
||||
public Region<Euclidean2D> createRegion() throws InsufficientDataException {
|
||||
if (vertices.length < 3) {
|
||||
throw new InsufficientDataException();
|
||||
|
|
|
@ -31,7 +31,7 @@ import org.apache.commons.math3.geometry.hull.ConvexHullGenerator;
|
|||
*/
|
||||
public interface ConvexHullGenerator2D extends ConvexHullGenerator<Euclidean2D, Vector2D> {
|
||||
|
||||
@Override
|
||||
/** {@inheritDoc} */
|
||||
ConvexHull2D generate(Collection<Vector2D> points) throws NullArgumentException;
|
||||
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -29,6 +29,7 @@ import org.junit.Test;
|
|||
*/
|
||||
public class GrahamScanTest extends ConvexHullGenerator2DAbstractTest {
|
||||
|
||||
@Override
|
||||
protected ConvexHullGenerator2D createConvexHullGenerator() {
|
||||
return new GrahamScan();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue