You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2014/02/01 13:00:21 UTC
svn commit: r1563402 - in /commons/proper/math/trunk/src:
main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/
test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/
Author: tn
Date: Sat Feb 1 12:00:21 2014
New Revision: 1563402
URL: http://svn.apache.org/r1563402
Log:
Apply @Override rules for java 1.5
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHull2D.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHullGenerator2D.java
commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/AklToussaintHeuristicTest.java
commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/GrahamScanTest.java
commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/MonotoneChainTest.java
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHull2D.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHull2D.java?rev=1563402&r1=1563401&r2=1563402&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHull2D.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHull2D.java Sat Feb 1 12:00:21 2014
@@ -79,7 +79,7 @@ public class ConvexHull2D implements Con
}
}
- @Override
+ /** {@inheritDoc} */
public Vector2D[] getVertices() {
return vertices.clone();
}
@@ -92,7 +92,7 @@ public class ConvexHull2D implements Con
return lineSegments.clone();
}
- @Override
+ /** {@inheritDoc} */
public Region<Euclidean2D> createRegion() throws InsufficientDataException {
if (vertices.length < 3) {
throw new InsufficientDataException();
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHullGenerator2D.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHullGenerator2D.java?rev=1563402&r1=1563401&r2=1563402&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHullGenerator2D.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/ConvexHullGenerator2D.java Sat Feb 1 12:00:21 2014
@@ -31,7 +31,7 @@ import org.apache.commons.math3.geometry
*/
public interface ConvexHullGenerator2D extends ConvexHullGenerator<Euclidean2D, Vector2D> {
- @Override
+ /** {@inheritDoc} */
ConvexHull2D generate(Collection<Vector2D> points) throws NullArgumentException;
}
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/AklToussaintHeuristicTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/AklToussaintHeuristicTest.java?rev=1563402&r1=1563401&r2=1563402&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/AklToussaintHeuristicTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/AklToussaintHeuristicTest.java Sat Feb 1 12:00:21 2014
@@ -26,6 +26,7 @@ import org.apache.commons.math3.geometry
*/
public class AklToussaintHeuristicTest extends ConvexHullGenerator2DAbstractTest {
+ @Override
protected ConvexHullGenerator2D createConvexHullGenerator() {
return new GrahamScan();
}
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/GrahamScanTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/GrahamScanTest.java?rev=1563402&r1=1563401&r2=1563402&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/GrahamScanTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/GrahamScanTest.java Sat Feb 1 12:00:21 2014
@@ -29,6 +29,7 @@ import org.junit.Test;
*/
public class GrahamScanTest extends ConvexHullGenerator2DAbstractTest {
+ @Override
protected ConvexHullGenerator2D createConvexHullGenerator() {
return new GrahamScan();
}
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/MonotoneChainTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/MonotoneChainTest.java?rev=1563402&r1=1563401&r2=1563402&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/MonotoneChainTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/hull/MonotoneChainTest.java Sat Feb 1 12:00:21 2014
@@ -22,6 +22,7 @@ package org.apache.commons.math3.geometr
*/
public class MonotoneChainTest extends ConvexHullGenerator2DAbstractTest {
+ @Override
protected ConvexHullGenerator2D createConvexHullGenerator() {
return new MonotoneChain();
}