sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1673974 - /sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/CoordinateOperationMethodsHTML.java
Date Wed, 15 Apr 2015 22:33:18 GMT
Author: desruisseaux
Date: Wed Apr 15 22:33:17 2015
New Revision: 1673974

URL: http://svn.apache.org/r1673974
Log:
Referencing: fixed the special default values in HTML report.

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

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/CoordinateOperationMethodsHTML.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/CoordinateOperationMethodsHTML.java?rev=1673974&r1=1673973&r2=1673974&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/CoordinateOperationMethodsHTML.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/CoordinateOperationMethodsHTML.java
[UTF-8] Wed Apr 15 22:33:17 2015
@@ -454,11 +454,11 @@ public final class CoordinateOperationMe
             } else if (defaultValue instanceof String) {
                 return (String) defaultValue;
             }
-        } else if (param.getMinimumOccurs() == 0) {
+        } else {
             if (ArraysExt.contains(defaultToLatitudeOfOrigin, param)) {
-                return "latitude of origin";
+                return "Latitude of origin";
             } else if (ArraysExt.contains(defaultToStandardParallel1, param)) {
-                return "standard parallel 1";
+                return "Standard parallel 1";
             } else if (ArraysExt.contains(defaultToAzimuth, param)) {
                 return "Azimuth of initial line";
             } else if (param.getValueClass() == Boolean.class) {



Mime
View raw message