You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by js...@apache.org on 2019/03/22 15:31:10 UTC
[sis] branch geoapi-4.0 updated: Coverage : fix checkstyle errors
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 586cbed Coverage : fix checkstyle errors
586cbed is described below
commit 586cbed7a654c699078a9aa5cdd76fbba4f7cef2
Author: jsorel <jo...@geomatys.com>
AuthorDate: Fri Mar 22 17:30:29 2019 +0100
Coverage : fix checkstyle errors
---
.../java/org/apache/sis/storage/WritableGridCoverageResource.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/storage/sis-storage/src/main/java/org/apache/sis/storage/WritableGridCoverageResource.java b/storage/sis-storage/src/main/java/org/apache/sis/storage/WritableGridCoverageResource.java
index bcf9ef8..17ef40c 100644
--- a/storage/sis-storage/src/main/java/org/apache/sis/storage/WritableGridCoverageResource.java
+++ b/storage/sis-storage/src/main/java/org/apache/sis/storage/WritableGridCoverageResource.java
@@ -35,12 +35,12 @@ public interface WritableGridCoverageResource extends GridCoverageResource {
* Different {@linkplain DataStoreProvider} may declare specific options
* for example : compression, version, encryption.
*/
- static interface Option {}
+ interface Option {}
/**
* Common writing options.
*/
- static enum CommonOption implements Option {
+ enum CommonOption implements Option {
/**
* <ul>
* <li>If a coverage already exist it will erase and replace existing datas
@@ -69,7 +69,8 @@ public interface WritableGridCoverageResource extends GridCoverageResource {
*
* @param coverage new datas to write, should not be null
* @param options specific writing options
+ * @throws org.apache.sis.storage.DataStoreException if an error occurred while writing datas in the underlying data store.
*/
- void write(GridCoverage coverage, Option ... options);
+ void write(GridCoverage coverage, Option... options) throws DataStoreException;
}