You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2014/01/22 13:39:06 UTC
svn commit: r1560335 - in /commons/proper/math/trunk/src:
main/java/org/apache/commons/math3/geometry/partitioning/BoundaryProjection.java
test/java/org/apache/commons/math3/geometry/euclidean/twod/PolygonsSetTest.java
Author: luc
Date: Wed Jan 22 12:39:06 2014
New Revision: 1560335
URL: http://svn.apache.org/r1560335
Log:
typo in a function name ...
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/partitioning/BoundaryProjection.java
commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/PolygonsSetTest.java
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/partitioning/BoundaryProjection.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/partitioning/BoundaryProjection.java?rev=1560335&r1=1560334&r2=1560335&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/partitioning/BoundaryProjection.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/partitioning/BoundaryProjection.java Wed Jan 22 12:39:06 2014
@@ -53,7 +53,7 @@ public class BoundaryProjection<S extend
/** Get the original point.
* @return original point
*/
- public Point<S> get0riginal() {
+ public Point<S> getOriginal() {
return original;
}
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/PolygonsSetTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/PolygonsSetTest.java?rev=1560335&r1=1560334&r2=1560335&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/PolygonsSetTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/twod/PolygonsSetTest.java Wed Jan 22 12:39:06 2014
@@ -178,7 +178,7 @@ public class PolygonsSetTest {
for (double x = -0.999; x < 3.999; x += 0.11) {
Vector2D v = new Vector2D(x, x + 0.5);
BoundaryProjection<Euclidean2D> projection = set.projectToBoundary(v);
- Assert.assertTrue(projection.get0riginal() == v);
+ Assert.assertTrue(projection.getOriginal() == v);
Vector2D p = (Vector2D) projection.getProjected();
if (x < -0.5) {
Assert.assertEquals(0.0, p.getX(), 1.0e-10);