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 The following commit(s) were added to refs/heads/geoapi-4.0 by this push: new ff5e15e Include the Japan profile in JavaFX application because it provides access to more file formats. Opportunistic replacement of 0 literal by constant value. ff5e15e is described below commit ff5e15eb2862b4809dd98f84024804b105d4e532 Author: Martin Desruisseaux AuthorDate: Tue Apr 7 00:54:42 2020 +0200 Include the Japan profile in JavaFX application because it provides access to more file formats. Opportunistic replacement of 0 literal by constant value. --- application/sis-javafx/pom.xml | 6 ++++++ .../src/main/java/org/apache/sis/gui/coverage/CoverageExplorer.java | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/application/sis-javafx/pom.xml b/application/sis-javafx/pom.xml index 3253689..d64e62d 100644 --- a/application/sis-javafx/pom.xml +++ b/application/sis-javafx/pom.xml @@ -143,6 +143,12 @@ runtime + org.apache.sis.profiles + sis-japan-profile + ${project.version} + runtime + + jakarta.xml.bind jakarta.xml.bind-api diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageExplorer.java b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageExplorer.java index 588a9ff..b824b44 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageExplorer.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageExplorer.java @@ -240,7 +240,7 @@ public class CoverageExplorer { * @param source the coverage or resource to load, or {@code null} if none. */ private void startLoading(final ImageRequest source) { - final GridView main = (GridView) views[0].view(); + final GridView main = (GridView) views[TABLE_VIEW].view(); main.setImage(source); }