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 2015/08/28 21:42:16 UTC
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
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>