You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2018/11/29 18:09:17 UTC

[sis] 01/05: Trivial method renaming for consistency with https://issues.apache.org/jira/browse/SIS-318.

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 <ma...@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);
     }
 
     /**