You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2021/08/31 17:25:21 UTC
[sis] 06/07: Remove a warning about unused GeogCitation key.
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 753a5cd20a8a191aee516faf61ce54c30e6c5535
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Tue Aug 31 17:25:43 2021 +0200
Remove a warning about unused GeogCitation key.
---
.../src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java b/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java
index abd0d11..d3e2aa0 100644
--- a/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java
+++ b/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java
@@ -124,7 +124,7 @@ import static org.apache.sis.util.Utilities.equalsIgnoreMetadata;
*
* @author Rémi Maréchal (Geomatys)
* @author Martin Desruisseaux (Geomatys)
- * @version 1.0
+ * @version 1.1
*
* @see GeoKeys
*
@@ -1204,6 +1204,7 @@ final class CRSBuilder extends ReferencingFactoryContainer {
final GeodeticDatum datum = crs.getDatum();
verifyIdentifier(crs, datum, GeoKeys.GeodeticDatum);
verify(datum, angularUnit, linearUnit);
+ geoKeys.remove(GeoKeys.GeogCitation);
}
/**