sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 02/04: Now that the development of geodesic distance is completed, set STORE_LOCAL_VARIABLES debug flag to false.
Date Sat, 03 Aug 2019 08:19:38 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit 98080c7fe905a86e1a3703ac30c8d43179b42dd9
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Sat Aug 3 07:00:37 2019 +0200

    Now that the development of geodesic distance is completed, set STORE_LOCAL_VARIABLES
debug flag to false.
---
 .../org/apache/sis/referencing/GeodesicsOnEllipsoid.java | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/GeodesicsOnEllipsoid.java
b/core/sis-referencing/src/main/java/org/apache/sis/referencing/GeodesicsOnEllipsoid.java
index 7e27db8..8d15823 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/GeodesicsOnEllipsoid.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/GeodesicsOnEllipsoid.java
@@ -80,6 +80,14 @@ import static org.apache.sis.internal.metadata.ReferencingServices.NAUTICAL_MILE
  */
 class GeodesicsOnEllipsoid extends GeodeticCalculator {
     /**
+     * Whether to include code used for JUnit tests only. This field should be
+     * set to {@code true} during development and to {@code false} in releases.
+     *
+     * @see #snapshot()
+     */
+    static final boolean STORE_LOCAL_VARIABLES = false;
+
+    /**
      * Factor by which the accuracy is improved compared to {@link Formulas#ANGULAR_TOLERANCE}
value.
      * For example the linear accuracy that {@code GeodesicsOnEllipsoid} aims to achieve
is:
      *
@@ -126,14 +134,6 @@ class GeodesicsOnEllipsoid extends GeodeticCalculator {
     private static final double LATITUDE_THRESHOLD = 0.001 / (NAUTICAL_MILE*60) * (PI/180);
 
     /**
-     * Whether to include code used for JUnit tests only.
-     * This value should be {@code false} in releases.
-     *
-     * @see #snapshot()
-     */
-    static final boolean STORE_LOCAL_VARIABLES = true;
-
-    /**
      * The square of eccentricity: ℯ² = (a²-b²)/a² where
      * <var>ℯ</var> is the eccentricity,
      * <var>a</var> is the <cite>semi-major</cite> axis length and


Mime
View raw message