sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1718281 - in /sis/branches/JDK8/core: sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/InterpolatedGeocentricTransform2D.java sis-utility/src/test/java/org/apache/sis/test/Assume.java
Date Mon, 07 Dec 2015 10:03:55 GMT
Author: desruisseaux
Date: Mon Dec  7 10:03:55 2015
New Revision: 1718281

URL: http://svn.apache.org/viewvc?rev=1718281&view=rev
Log:
Add missing parameter types and remove unneeded IOException.

Modified:
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/InterpolatedGeocentricTransform2D.java
    sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/test/Assume.java

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/InterpolatedGeocentricTransform2D.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/InterpolatedGeocentricTransform2D.java?rev=1718281&r1=1718280&r2=1718281&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/InterpolatedGeocentricTransform2D.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/InterpolatedGeocentricTransform2D.java
[UTF-8] Mon Dec  7 10:03:55 2015
@@ -18,6 +18,8 @@ package org.apache.sis.referencing.opera
 
 import java.awt.Shape;
 import java.awt.geom.Point2D;
+import javax.measure.quantity.Angle;
+import javax.measure.quantity.Length;
 import org.opengis.referencing.datum.Ellipsoid;
 import org.opengis.referencing.operation.Matrix;
 import org.opengis.referencing.operation.MathTransform2D;
@@ -42,7 +44,7 @@ final class InterpolatedGeocentricTransf
     /**
      * Constructs a 2D transform.
      */
-    InterpolatedGeocentricTransform2D(final Ellipsoid source, final Ellipsoid target, final
DatumShiftGrid grid) {
+    InterpolatedGeocentricTransform2D(final Ellipsoid source, final Ellipsoid target, final
DatumShiftGrid<Angle,Length> grid) {
         super(source, false, target, false, grid);
     }
 

Modified: sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/test/Assume.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/test/Assume.java?rev=1718281&r1=1718280&r2=1718281&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/test/Assume.java [UTF-8]
(original)
+++ sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/test/Assume.java [UTF-8]
Mon Dec  7 10:03:55 2015
@@ -16,7 +16,6 @@
  */
 package org.apache.sis.test;
 
-import java.io.IOException;
 import org.apache.sis.internal.system.DataDirectory;
 
 // Branch-specific imports
@@ -51,9 +50,8 @@ public final strictfp class Assume exten
      * @param  type The directory where to search for the given file.
      * @param  file The file that needs to exist.
      * @return The path to the given file.
-     * @throws IOException if the directory exists but a problem occurred while reading it.
      */
-    public static Path assumeDataExists(final DataDirectory type, final String file) throws
IOException {
+    public static Path assumeDataExists(final DataDirectory type, final String file) {
         assumeNotNull(System.getenv(DataDirectory.ENV));
         Path path = type.getDirectory();
         assumeNotNull(path);



Mime
View raw message