From commits-return-6494-archive-asf-public=cust-asf.ponee.io@royale.apache.org Thu Oct 18 21:57:24 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5E86D18064E for ; Thu, 18 Oct 2018 21:57:24 +0200 (CEST) Received: (qmail 23654 invoked by uid 500); 18 Oct 2018 19:57:23 -0000 Mailing-List: contact commits-help@royale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@royale.apache.org Delivered-To: mailing list commits@royale.apache.org Received: (qmail 23645 invoked by uid 99); 18 Oct 2018 19:57:23 -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; Thu, 18 Oct 2018 19:57:23 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 0172585B0C; Thu, 18 Oct 2018 19:57:22 +0000 (UTC) Date: Thu, 18 Oct 2018 19:57:22 +0000 To: "commits@royale.apache.org" Subject: [royale-compiler] branch develop updated: null check MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <153989264295.612.3309381668876616160@gitbox.apache.org> From: aharui@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: royale-compiler X-Git-Refname: refs/heads/develop X-Git-Reftype: branch X-Git-Oldrev: 3630c7c52569d649edefbf92efaba6913fc7e9b5 X-Git-Newrev: f1a2f1e5a9b71c15ddc8a0b4b088e56c52145b52 X-Git-Rev: f1a2f1e5a9b71c15ddc8a0b4b088e56c52145b52 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. aharui pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-compiler.git The following commit(s) were added to refs/heads/develop by this push: new f1a2f1e null check f1a2f1e is described below commit f1a2f1e5a9b71c15ddc8a0b4b088e56c52145b52 Author: Alex Harui AuthorDate: Thu Oct 18 12:57:12 2018 -0700 null check --- .../main/java/org/apache/royale/compiler/clients/JSConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java index 299fe7d..22854f4 100644 --- a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java +++ b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java @@ -365,7 +365,7 @@ public class JSConfiguration extends Configuration { if (moduleoutput != null && moduleoutput.equals("/")) return null; - return moduleoutput.replace("/", File.separator); + return moduleoutput == null ? null : moduleoutput.replace("/", File.separator); } @Config