sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jso...@apache.org
Subject [sis] branch geoapi-4.0 updated: Netcdf : remove TransformException not raised by GridGeometry
Date Thu, 03 Jan 2019 16:14:09 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new 3e8712f  Netcdf : remove TransformException not raised by GridGeometry
3e8712f is described below

commit 3e8712fc62eaf3a44bb2c3f8eb469544cdef4932
Author: jsorel <johann.sorel@geomatys.com>
AuthorDate: Thu Jan 3 18:11:54 2019 +0100

    Netcdf : remove TransformException not raised by GridGeometry
---
 .../sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Grid.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Grid.java b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Grid.java
index 1b74793..a89c8c9 100644
--- a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Grid.java
+++ b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Grid.java
@@ -397,7 +397,7 @@ findFree:       for (int srcDim : axis.sourceDimensions) {
                 }
             }
             geometry = new GridGeometry(getExtent(axes), anchor, gridToCRS, crs);
-        } catch (FactoryException | TransformException ex) {
+        } catch (FactoryException ex) {
             canNotCreate(decoder, "getGridGeometry", Resources.Keys.CanNotCreateGridGeometry_3,
ex);
         }
         return geometry;


Mime
View raw message