sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1653364 - /sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/OperationMethodsTest.java
Date Tue, 20 Jan 2015 20:42:54 GMT
Author: desruisseaux
Date: Tue Jan 20 20:42:54 2015
New Revision: 1653364

URL: http://svn.apache.org/r1653364
Log:
Use pre-defined constant.

Modified:
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/OperationMethodsTest.java

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/OperationMethodsTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/OperationMethodsTest.java?rev=1653364&r1=1653363&r2=1653364&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/OperationMethodsTest.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/OperationMethodsTest.java
[UTF-8] Tue Jan 20 20:42:54 2015
@@ -60,7 +60,7 @@ public final strictfp class OperationMet
      */
     @Test
     public void testCheckDimensions() {
-        final Map<String,?> properties = Collections.singletonMap("locale", Locale.ENGLISH);
+        final Map<String,?> properties = Collections.singletonMap(DefaultOperationMethod.LOCALE_KEY,
Locale.ENGLISH);
         final MathTransform tr = MathTransformsTest.createConcatenateAndPassThrough();
         OperationMethods.checkDimensions(createOperationMethod(3, 3), tr, properties);
         OperationMethods.checkDimensions(createOperationMethod(1, 1), tr, properties);



Mime
View raw message