Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A377517C9C for ; Wed, 21 Jan 2015 04:16:50 +0000 (UTC) Received: (qmail 12905 invoked by uid 500); 21 Jan 2015 04:16:45 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 12857 invoked by uid 500); 21 Jan 2015 04:16:45 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 12847 invoked by uid 99); 21 Jan 2015 04:16:44 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 04:16:44 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 91C12E083A; Wed, 21 Jan 2015 04:16:44 +0000 (UTC) From: imesh To: dev@stratos.apache.org Reply-To: dev@stratos.apache.org References: In-Reply-To: Subject: [GitHub] stratos pull request: [STRATOS-1088] - Application Path is set nul... Content-Type: text/plain Message-Id: <20150121041644.91C12E083A@git1-us-west.apache.org> Date: Wed, 21 Jan 2015 04:16:44 +0000 (UTC) Github user imesh commented on a diff in the pull request: https://github.com/apache/stratos/pull/181#discussion_r23277326 --- Diff: components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/payload/BasicPayloadData.java --- @@ -85,8 +85,10 @@ public void populatePayload () { payloadBuilder.append("CARTRIDGE_KEY=" + getSubscriptionKey()); payloadBuilder.append(","); payloadBuilder.append("DEPLOYMENT=" + AutoScalerConstants.PAYLOAD_DEPLOYMENT); - payloadBuilder.append(","); - payloadBuilder.append("APPLICATION_PATH=" + getApplicationPath()); + if (getApplicationPath() != null) { --- End diff -- @chamilad Shall we use StringUtils.isNotEmpty() instead of != null? Thanks --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---