sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1698399 - in /sis/branches/JDK8/core/sis-referencing/src: main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java test/java/org/apache/sis/parameter/ParameterFormatTest.java
Date Fri, 28 Aug 2015 19:42:16 GMT
Author: desruisseaux
Date: Fri Aug 28 19:42:16 2015
New Revision: 1698399

URL: http://svn.apache.org/r1698399
Log:
Fix a warning and a typo.

Modified:
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/parameter/ParameterFormatTest.java

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java?rev=1698399&r1=1698398&r2=1698399&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
[UTF-8] Fri Aug 28 19:42:16 2015
@@ -506,7 +506,7 @@ public class PassThroughTransform extend
         final int numRow    = numSubRow + (nSkipped + affine);
         final int numCol    = numSubCol + (nSkipped + affine);
         final Number[] elements = new Number[numRow * numCol]; // Matrix elements as row
major (column index varies faster).
-        Arrays.fill(elements, Integer.valueOf(0));
+        Arrays.fill(elements, 0);
         /*                      ┌                  ┐
          *  Set UL part to 1:   │ 1  0             │
          *                      │ 0  1             │

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/parameter/ParameterFormatTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/parameter/ParameterFormatTest.java?rev=1698399&r1=1698398&r2=1698399&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/parameter/ParameterFormatTest.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/parameter/ParameterFormatTest.java
[UTF-8] Fri Aug 28 19:42:16 2015
@@ -68,7 +68,7 @@ public final strictfp class ParameterFor
     }
 
     /**
-     * Creates the test parameter for the Mercator projection, to be shared by {@link ParameterMarshallingTest}.
+     * Creates the test parameters for the Mercator projection, to be shared by {@link ParameterMarshallingTest}.
      *
      * <div class="note"><b>Note:</b>
      * the default values are not part of EPSG definitions. They are added here only for
testing purpose.</div>



Mime
View raw message