From commits-return-13440-apmail-sis-commits-archive=sis.apache.org@sis.apache.org Mon Apr 6 22:58:02 2020 Return-Path: X-Original-To: apmail-sis-commits-archive@www.apache.org Delivered-To: apmail-sis-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 7B58419E3A for ; Mon, 6 Apr 2020 22:58:02 +0000 (UTC) Received: (qmail 77443 invoked by uid 500); 6 Apr 2020 22:58:02 -0000 Delivered-To: apmail-sis-commits-archive@sis.apache.org Received: (qmail 77426 invoked by uid 500); 6 Apr 2020 22:58:02 -0000 Mailing-List: contact commits-help@sis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: sis-dev@sis.apache.org Delivered-To: mailing list commits@sis.apache.org Received: (qmail 77416 invoked by uid 99); 6 Apr 2020 22:58:02 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2020 22:58:02 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id D74F7819F7; Mon, 6 Apr 2020 22:58:01 +0000 (UTC) Date: Mon, 06 Apr 2020 22:58:01 +0000 To: "commits@sis.apache.org" Subject: [sis] branch geoapi-4.0 updated: Include the Japan profile in JavaFX application because it provides access to more file formats. Opportunistic replacement of 0 literal by constant value. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <158621388182.28440.3786433558623789584@gitbox.apache.org> From: desruisseaux@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: sis X-Git-Refname: refs/heads/geoapi-4.0 X-Git-Reftype: branch X-Git-Oldrev: c45277fd0664783d57fc1bb059bb822e30c477ab X-Git-Newrev: ff5e15eb2862b4809dd98f84024804b105d4e532 X-Git-Rev: ff5e15eb2862b4809dd98f84024804b105d4e532 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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); }