sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1726773 - in /sis/branches/JDK8/core: sis-metadata/src/main/java/org/apache/sis/io/wkt/ sis-referencing/src/main/java/org/apache/sis/referencing/ sis-referencing/src/test/java/org/apache/sis/referencing/ sis-referencing/src/test/java/org/a...
Date Tue, 26 Jan 2016 11:14:18 GMT
Author: desruisseaux
Date: Tue Jan 26 11:14:18 2016
New Revision: 1726773

URL: http://svn.apache.org/viewvc?rev=1726773&view=rev
Log:
CommonCRS uses the real EPSG database when available.

Modified:
    sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Transliterator.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/AuthorityFactories.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/EPSGFactoryFallback.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/StandardDefinitions.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/CRSTest.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/CommonCRSTest.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/EPSGFactoryFallbackTest.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/CommonAuthorityFactoryTest.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/MathTransformFactoryMock.java

Modified: sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Transliterator.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Transliterator.java?rev=1726773&r1=1726772&r2=1726773&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Transliterator.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Transliterator.java
[UTF-8] Tue Jan 26 11:14:18 2016
@@ -328,41 +328,46 @@ public abstract class Transliterator imp
      * @see org.apache.sis.referencing.cs.DefaultCoordinateSystemAxis#formatTo(Formatter)
      */
     public String toLatinAbbreviation(final CoordinateSystem cs, final AxisDirection direction,
String abbreviation) {
-        if (abbreviation != null && !abbreviation.isEmpty() && abbreviation.length()
<= 2) {
-            switch (abbreviation.charAt(0)) {
-                /*
-                 * ISO 19162:2015 §7.5.3 recommendations:
-                 *
-                 *   a) For PolarCS using Greek letter θ for direction, the letter ‘U’
should be used in WKT.
-                 *   b) For SphericalCS using φ and θ, the letter ‘U’ and ‘V’ respectively
should be used in WKT.
-                 */
-                case 'θ': {
-                    if  (cs instanceof SphericalCS) abbreviation ="V";
-                    else if (cs instanceof PolarCS) abbreviation ="U";
-                    break;
-                }
-                /*
-                 * ISO 19162:2015 §7.5.3 requirement (ii) and recommendation (b):
-                 *
-                 *  ii) Greek letters φ and λ for geodetic latitude and longitude must
be replaced by Latin char.
-                 *   b) For SphericalCS using φ and θ, the letter ‘U’ and ‘V’ respectively
should be used in WKT.
-                 *
-                 * Note that some SphericalCS may use φ′ or φc for distinguishing from
geodetic latitude φ.
-                 */
-                case 'φ': {
-                    if (cs instanceof SphericalCS) {
-                        abbreviation = "U";
-                    } else if (cs instanceof EllipsoidalCS) {
-                        abbreviation = "B";    // From German "Breite", used in academic
texts worldwide.
+        if (abbreviation != null && !abbreviation.isEmpty()) {
+            if (abbreviation.length() <= 2) {
+                switch (abbreviation.charAt(0)) {
+                    /*
+                     * ISO 19162:2015 §7.5.3 recommendations:
+                     *
+                     *   a) For PolarCS using Greek letter θ for direction, the letter ‘U’
should be used in WKT.
+                     *   b) For SphericalCS using φ and θ, the letter ‘U’ and ‘V’
respectively should be used in WKT.
+                     */
+                    case 'θ': {
+                        if  (cs instanceof SphericalCS) abbreviation ="V";
+                        else if (cs instanceof PolarCS) abbreviation ="U";
+                        break;
                     }
-                    break;
-                }
-                case 'λ': {
-                    if (cs instanceof EllipsoidalCS) {
-                        abbreviation = "L";    // From German "Länge", used in academic
texts worldwide.
+                    /*
+                     * ISO 19162:2015 §7.5.3 requirement (ii) and recommendation (b):
+                     *
+                     *  ii) Greek letters φ and λ for geodetic latitude and longitude must
be replaced by Latin char.
+                     *   b) For SphericalCS using φ and θ, the letter ‘U’ and ‘V’
respectively should be used in WKT.
+                     *
+                     * Note that some SphericalCS may use φ′ or φc for distinguishing
from geodetic latitude φ.
+                     */
+                    case 'φ': {
+                        if (cs instanceof SphericalCS) {
+                            abbreviation = "U";
+                        } else if (cs instanceof EllipsoidalCS) {
+                            abbreviation = "B";    // From German "Breite", used in academic
texts worldwide.
+                        }
+                        break;
+                    }
+                    case 'λ': {
+                        if (cs instanceof EllipsoidalCS) {
+                            abbreviation = "L";    // From German "Länge", used in academic
texts worldwide.
+                        }
+                        break;
                     }
-                    break;
                 }
+            } else {
+                if      (abbreviation.equalsIgnoreCase("Lat" )) abbreviation = "B";
+                else if (abbreviation.equalsIgnoreCase("Long")) abbreviation = "L";
             }
         }
         return abbreviation;

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/AuthorityFactories.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/AuthorityFactories.java?rev=1726773&r1=1726772&r2=1726773&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/AuthorityFactories.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/AuthorityFactories.java
[UTF-8] Tue Jan 26 11:14:18 2016
@@ -64,9 +64,7 @@ final class AuthorityFactories<T extends
     {
         @Override
         public void reload() {
-            synchronized (EPSG) {
-                EPSG[0] = null;
-            }
+            EPSG(null);
             super.reload();
         }
     };
@@ -89,6 +87,15 @@ final class AuthorityFactories<T extends
     }
 
     /**
+     * Sets the EPSG factory to the given value.
+     */
+    static void EPSG(final AuthorityFactory factory) {
+        synchronized (EPSG) {
+            EPSG[0] = factory;
+        }
+    }
+
+    /**
      * Returns the EPSG factory.
      */
     static AuthorityFactory EPSG() {

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/EPSGFactoryFallback.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/EPSGFactoryFallback.java?rev=1726773&r1=1726772&r2=1726773&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/EPSGFactoryFallback.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/EPSGFactoryFallback.java
[UTF-8] Tue Jan 26 11:14:18 2016
@@ -52,7 +52,13 @@ final class EPSGFactoryFallback extends
      * This field should always be {@code false}, except for debugging purposes.
      */
     @Debug
-    static final boolean FORCE_HARDCODED = true;
+    static final boolean FORCE_HARDCODED = false;
+
+    /**
+     * A temporary flag for tests that need to be revisited after the upgrade to the next
EPSG database version.
+     */
+    @Debug
+    static final boolean PENDING_NEXT_EPSG = false;
 
     /**
      * The singleton instance.

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/StandardDefinitions.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/StandardDefinitions.java?rev=1726773&r1=1726772&r2=1726773&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/StandardDefinitions.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/StandardDefinitions.java
[UTF-8] Tue Jan 26 11:14:18 2016
@@ -64,6 +64,7 @@ import org.apache.sis.measure.Latitude;
 import static org.opengis.referencing.IdentifiedObject.NAME_KEY;
 import static org.opengis.referencing.IdentifiedObject.ALIAS_KEY;
 import static org.opengis.referencing.IdentifiedObject.IDENTIFIERS_KEY;
+import static org.opengis.referencing.crs.GeographicCRS.SCOPE_KEY;
 import static org.opengis.referencing.datum.Datum.DOMAIN_OF_VALIDITY_KEY;
 import static org.apache.sis.internal.metadata.ReferencingServices.AUTHALIC_RADIUS;
 
@@ -163,9 +164,10 @@ final class StandardDefinitions {
     static GeographicCRS createGeographicCRS(final short code, final GeodeticDatum datum,
final EllipsoidalCS cs) {
         final String name;
         String alias = null;
+        String scope = null;
         boolean world = false;
         switch (code) {
-            case 4326: name = "WGS 84"; world = true; break;
+            case 4326: name = "WGS 84"; world = true; scope = "Horizontal component of 3D
system."; break;
             case 4322: name = "WGS 72"; world = true; break;
             case 4258: name = "ETRS89"; alias = "ETRS89-GRS80"; break;
             case 4269: name = "NAD83";  break;
@@ -174,7 +176,9 @@ final class StandardDefinitions {
             case 4047: name = "Unspecified datum based upon the GRS 1980 Authalic Sphere";
world = true; break;
             default:   throw new AssertionError(code);
         }
-        return new DefaultGeographicCRS(properties(code, name, alias, world), datum, cs);
+        final Map<String, Object> properties = properties(code, name, alias, world);
+        properties.put(SCOPE_KEY, scope);
+        return new DefaultGeographicCRS(properties, datum, cs);
     }
 
     /**

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/CRSTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/CRSTest.java?rev=1726773&r1=1726772&r2=1726773&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/CRSTest.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/CRSTest.java
[UTF-8] Tue Jan 26 11:14:18 2016
@@ -82,7 +82,7 @@ public final strictfp class CRSTest exte
          * Following test is skipped when using the EPSG factory because EPSG uses
          * the "Gravity-related depth" axis name while ISO 19111 mandates "Depth".
          */
-        if (AuthorityFactories.EPSG() instanceof EPSGFactoryFallback) {
+        if (EPSGFactoryFallback.PENDING_NEXT_EPSG) {
             verifyForCode(CommonCRS.Vertical.DEPTH.crs(), "EPSG:5715");
         }
     }

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/CommonCRSTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/CommonCRSTest.java?rev=1726773&r1=1726772&r2=1726773&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/CommonCRSTest.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/CommonCRSTest.java
[UTF-8] Tue Jan 26 11:14:18 2016
@@ -163,10 +163,13 @@ public final strictfp class CommonCRSTes
                  */
                 Validators.validate(crs);
             }
-            assertSame  (name, datum,          e.datum()); // Datum before CRS creation.
-            assertSame  (name, crs.getDatum(), e.datum()); // Datum after CRS creation.
+            assertSame  (name, datum,          e.datum());                      // Datum
before CRS creation.
+            assertSame  (name, crs.getDatum(), e.datum());                      // Datum
after CRS creation.
             assertEquals(name, datumName, datum.getName().getCode());
             assertEquals(name, datumType, datum.getVerticalDatumType());
+            if (!EPSGFactoryFallback.PENDING_NEXT_EPSG && e == CommonCRS.Vertical.DEPTH)
{
+                continue;   // Pending the renaming of "Gravity-related depth" as "Depth"
in EPSG database.
+            }
             assertEquals(name, axisName,  crs.getCoordinateSystem().getAxis(0).getName().getCode());
         }
     }

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/EPSGFactoryFallbackTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/EPSGFactoryFallbackTest.java?rev=1726773&r1=1726772&r2=1726773&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/EPSGFactoryFallbackTest.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/EPSGFactoryFallbackTest.java
[UTF-8] Tue Jan 26 11:14:18 2016
@@ -16,15 +16,24 @@
  */
 package org.apache.sis.referencing;
 
+import java.util.Arrays;
 import org.opengis.util.FactoryException;
 import org.opengis.referencing.crs.SingleCRS;
+import org.opengis.referencing.crs.VerticalCRS;
+import org.opengis.referencing.crs.GeographicCRS;
+import org.opengis.referencing.crs.GeocentricCRS;
+import org.opengis.referencing.crs.CoordinateReferenceSystem;
+import org.opengis.referencing.crs.CRSAuthorityFactory;
+import org.apache.sis.util.ComparisonMode;
+import org.apache.sis.util.Utilities;
 
 // Test dependencies
+import org.apache.sis.test.DependsOnMethod;
 import org.apache.sis.test.DependsOn;
 import org.apache.sis.test.TestCase;
 import org.junit.Test;
 
-import static org.junit.Assert.*;
+import static org.apache.sis.test.Assert.*;
 
 
 /**
@@ -41,36 +50,85 @@ import static org.junit.Assert.*;
 })
 public final strictfp class EPSGFactoryFallbackTest extends TestCase {
     /**
+     * Tests {@link EPSGFactoryFallback#getAuthorityCodes(Class)}.
+     *
+     * @throws FactoryException if the set of authority codes can not be fetched.
+     */
+    @Test
+    public void testGetAuthorityCodes() throws FactoryException {
+        assertSetEquals(Arrays.asList("4978", "4984", "4936"),
+                EPSGFactoryFallback.INSTANCE.getAuthorityCodes(GeocentricCRS.class));
+        assertSetEquals(Arrays.asList("4326", "4322", "4047", "4269", "4267", "4258", "4230",
"4979", "4985", "4937"),
+                EPSGFactoryFallback.INSTANCE.getAuthorityCodes(GeographicCRS.class));
+        assertSetEquals(Arrays.asList("5714", "5715", "5703"),
+                EPSGFactoryFallback.INSTANCE.getAuthorityCodes(VerticalCRS.class));
+    }
+
+    /**
      * Tests {@link EPSGFactoryFallback#createCoordinateReferenceSystem(String)}.
      *
-     * @throws FactoryException If a CRS can not be constructed.
+     * @throws FactoryException if a CRS can not be constructed.
      *
      * @see CRSTest#testForEpsgCode()
      * @see CRSTest#testForCrsCode()
      */
     @Test
-    public void testForCode() throws FactoryException {
-        verifyForCode(CommonCRS.WGS84 .geographic(),            "4326");
-        verifyForCode(CommonCRS.WGS72 .geographic(),            "4322");
-        verifyForCode(CommonCRS.SPHERE.geographic(),            "4047");
-        verifyForCode(CommonCRS.NAD83 .geographic(),            "4269");
-        verifyForCode(CommonCRS.NAD27 .geographic(),            "4267");
-        verifyForCode(CommonCRS.ETRS89.geographic(),            "4258");
-        verifyForCode(CommonCRS.ED50  .geographic(),            "4230");
-        verifyForCode(CommonCRS.WGS84 .geocentric(),            "4978");
-        verifyForCode(CommonCRS.WGS72 .geocentric(),            "4984");
-        verifyForCode(CommonCRS.ETRS89.geocentric(),            "4936");
-        verifyForCode(CommonCRS.WGS84 .geographic3D(),          "4979");
-        verifyForCode(CommonCRS.WGS72 .geographic3D(),          "4985");
-        verifyForCode(CommonCRS.ETRS89.geographic3D(),          "4937");
-        verifyForCode(CommonCRS.Vertical.MEAN_SEA_LEVEL.crs(),  "5714");
-        verifyForCode(CommonCRS.Vertical.DEPTH.crs(),           "5715");
+    public void testCreateCRS() throws FactoryException {
+        verifyCreate(CommonCRS.WGS84 .geographic(),            "4326");
+        verifyCreate(CommonCRS.WGS72 .geographic(),            "4322");
+        verifyCreate(CommonCRS.SPHERE.geographic(),            "4047");
+        verifyCreate(CommonCRS.NAD83 .geographic(),            "4269");
+        verifyCreate(CommonCRS.NAD27 .geographic(),            "4267");
+        verifyCreate(CommonCRS.ETRS89.geographic(),            "4258");
+        verifyCreate(CommonCRS.ED50  .geographic(),            "4230");
+        verifyCreate(CommonCRS.WGS84 .geocentric(),            "4978");
+        verifyCreate(CommonCRS.WGS72 .geocentric(),            "4984");
+        verifyCreate(CommonCRS.ETRS89.geocentric(),            "4936");
+        verifyCreate(CommonCRS.WGS84 .geographic3D(),          "4979");
+        verifyCreate(CommonCRS.WGS72 .geographic3D(),          "4985");
+        verifyCreate(CommonCRS.ETRS89.geographic3D(),          "4937");
+        verifyCreate(CommonCRS.Vertical.MEAN_SEA_LEVEL.crs(),  "5714");
+        verifyCreate(CommonCRS.Vertical.DEPTH.crs(),           "5715");
     }
 
     /**
      * Asserts that the result of {@link CommonCRS#forCode(String, String, FactoryException)}
is the given CRS.
      */
-    private static void verifyForCode(final SingleCRS expected, final String code) throws
FactoryException {
+    private static void verifyCreate(final SingleCRS expected, final String code) throws
FactoryException {
         assertSame(code, expected, EPSGFactoryFallback.INSTANCE.createCoordinateReferenceSystem(code));
     }
+
+    /**
+     * Sets the EPSG factory to the given instance and clears the cache of all {@link CommonCRS}
enumeration values.
+     */
+    private static void setEPSGFactory(final CRSAuthorityFactory factory) {
+        AuthorityFactories.EPSG(factory);
+        for (final CommonCRS          crs : CommonCRS         .values()) crs.clear();
+        for (final CommonCRS.Vertical crs : CommonCRS.Vertical.values()) crs.clear();
+        for (final CommonCRS.Temporal crs : CommonCRS.Temporal.values()) crs.clear();
+    }
+
+    /**
+     * Compares all CRS created by {@link EPSGFactoryFallback} with CRS created by the real
EPSG database.
+     *
+     * @throws FactoryException if a CRS can not be constructed.
+     */
+    @Test
+    @DependsOnMethod({"testGetAuthorityCodes", "testCreateCRS"})
+    public void compareAllCodes() throws FactoryException {
+        final CRSAuthorityFactory EPSG = (CRSAuthorityFactory) AuthorityFactories.EPSG();
+        try {
+            setEPSGFactory(EPSGFactoryFallback.INSTANCE);
+            for (final String code : EPSGFactoryFallback.INSTANCE.getAuthorityCodes(CoordinateReferenceSystem.class))
{
+                if (!EPSGFactoryFallback.PENDING_NEXT_EPSG && code.equals("5715"))
{
+                    continue;
+                }
+                final CoordinateReferenceSystem crs = EPSGFactoryFallback.INSTANCE.createCoordinateReferenceSystem(code);
+                final CoordinateReferenceSystem expected = EPSG.createCoordinateReferenceSystem(code);
+                assertTrue(code, Utilities.deepEquals(expected, crs, ComparisonMode.DEBUG));
+            }
+        } finally {
+            setEPSGFactory(EPSG);
+        }
+    }
 }

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/CommonAuthorityFactoryTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/CommonAuthorityFactoryTest.java?rev=1726773&r1=1726772&r2=1726773&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/CommonAuthorityFactoryTest.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/CommonAuthorityFactoryTest.java
[UTF-8] Tue Jan 26 11:14:18 2016
@@ -342,7 +342,7 @@ public final strictfp class CommonAuthor
                 "  AXIS[“Latitude”, NORTH],\n" +
                 "  AUTHORITY[“CRS”, “84”]]", crs);
 
-        assertWktEquals(Convention.WKT2,
+        assertWktEqualsRegex(Convention.WKT2, "(?m)\\Q" +
                 "GEODCRS[“WGS 84”,\n" +
                 "  DATUM[“World Geodetic System 1984”,\n" +
                 "    ELLIPSOID[“WGS 84”, 6378137.0, 298.257223563, LENGTHUNIT[“metre”,
1]]],\n" +
@@ -351,9 +351,10 @@ public final strictfp class CommonAuthor
                 "    AXIS[“Longitude (L)”, east, ORDER[1]],\n" +
                 "    AXIS[“Latitude (B)”, north, ORDER[2]],\n" +
                 "    ANGLEUNIT[“degree”, 0.017453292519943295],\n" +
-                "  AREA[“World”],\n" +
+                "  SCOPE[“Horizontal component of 3D system.\\E.*\\Q”],\n" +
+                "  AREA[“World\\E.*\\Q”],\n" +
                 "  BBOX[-90.00, -180.00, 90.00, 180.00],\n" +
-                "  ID[“CRS”, 84, CITATION[“OGC:WMS”], URI[“urn:ogc:def:crs:OGC:1.3:CRS84”]]]",
crs);
+                "  ID[“CRS”, 84, CITATION[“OGC:WMS”], URI[“urn:ogc:def:crs:OGC:1.3:CRS84”]]]\\E",
crs);
         /*
          * Note: the WKT specification defines the ID element as:
          *

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/MathTransformFactoryMock.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/MathTransformFactoryMock.java?rev=1726773&r1=1726772&r2=1726773&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/MathTransformFactoryMock.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/MathTransformFactoryMock.java
[UTF-8] Tue Jan 26 11:14:18 2016
@@ -30,8 +30,6 @@ import org.opengis.referencing.operation
 import org.opengis.referencing.operation.OperationMethod;
 import org.opengis.referencing.operation.SingleOperation;
 import org.apache.sis.referencing.operation.DefaultOperationMethod;
-import org.apache.sis.referencing.operation.transform.MathTransformProvider;
-import org.apache.sis.referencing.operation.transform.MathTransforms;
 
 
 /**



Mime
View raw message