This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git
commit 1c11912629ae9041dab7fbbcdb0744dcb2be078d
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Thu Nov 29 15:03:56 2018 +0100
Trivial method renaming for consistency with https://issues.apache.org/jira/browse/SIS-318.
---
.../sis/referencing/operation/transform/PassThroughTransform.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
index 148d155..ae1b7f6 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
@@ -294,8 +294,8 @@ public class PassThroughTransform extends AbstractMathTransform implements
Seria
* @param numPts number of points to transform.
*/
@SuppressWarnings("SuspiciousSystemArraycopy")
- private void apply(final Object srcPts, final int srcOff,
- final Object dstPts, int dstOff, int numPts) throws TransformException
+ private void transformOverlapping(final Object srcPts, final int srcOff,
+ final Object dstPts, int dstOff, int numPts) throws
TransformException
{
if (numPts <= 0) return;
final int subDimSource = subTransform.getSourceDimensions();
@@ -410,7 +410,7 @@ public class PassThroughTransform extends AbstractMathTransform implements
Seria
*/
@Override
public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
throws TransformException {
- apply(srcPts, srcOff, dstPts, dstOff, numPts);
+ transformOverlapping(srcPts, srcOff, dstPts, dstOff, numPts);
}
/**
@@ -420,7 +420,7 @@ public class PassThroughTransform extends AbstractMathTransform implements
Seria
*/
@Override
public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
throws TransformException {
- apply(srcPts, srcOff, dstPts, dstOff, numPts);
+ transformOverlapping(srcPts, srcOff, dstPts, dstOff, numPts);
}
/**
|