sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1737169 - in /sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing: CRS.java package-info.java
Date Wed, 30 Mar 2016 22:40:16 GMT
Author: desruisseaux
Date: Wed Mar 30 22:40:16 2016
New Revision: 1737169

URL: http://svn.apache.org/viewvc?rev=1737169&view=rev
Log:
Fix erroneous javadoc.

Modified:
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CRS.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/package-info.java

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CRS.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CRS.java?rev=1737169&r1=1737168&r2=1737169&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CRS.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CRS.java
[UTF-8] Wed Mar 30 22:40:16 2016
@@ -87,8 +87,8 @@ import static java.util.Collections.sing
  *   CoordinateReferenceSystem source = CRS.forCode("EPSG:4326");                   // WGS
84
  *   CoordinateReferenceSystem target = CRS.forCode("EPSG:3395");                   // WGS
84 / World Mercator
  *   CoordinateOperation operation = CRS.findOperation(source, target, null);
- *   if (CRS.getLinearAccuracy(operation) < 100) {
- *       // If the accuracy is less than 100 metres (or any other threshold at application
choice)
+ *   if (CRS.getLinearAccuracy(operation) > 100) {
+ *       // If the accuracy is coarser than 100 metres (or any other threshold at application
choice)
  *       // maybe the operation is not suitable. Decide here what to do (throw an exception,
etc).
  *   }
  *   MathTransform mt = operation.getMathTransform();

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/package-info.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/package-info.java?rev=1737169&r1=1737168&r2=1737169&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/package-info.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/package-info.java
[UTF-8] Wed Mar 30 22:40:16 2016
@@ -44,8 +44,8 @@
  *   GeographicCRS source = CommonCRS.WGS84.geographic();
  *   ProjectedCRS  target = CommonCRS.WGS84.UTM(20, 30);                        // 20°N
30°E   (watch out axis order!)
  *   CoordinateOperation operation = CRS.findOperation(source, target, null);
- *   if (CRS.getLinearAccuracy(operation) < 100) {
- *       // If the accuracy is less than 100 metres (or any other threshold at application
choice)
+ *   if (CRS.getLinearAccuracy(operation) > 100) {
+ *       // If the accuracy is coarser than 100 metres (or any other threshold at application
choice)
  *       // maybe the operation is not suitable. Decide here what to do (throw an exception,
etc).
  *   }
  *   MathTransform mt = operation.getMathTransform();



Mime
View raw message