Return-Path: X-Original-To: apmail-argus-commits-archive@minotaur.apache.org Delivered-To: apmail-argus-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F29911EA5 for ; Mon, 15 Sep 2014 14:26:14 +0000 (UTC) Received: (qmail 39033 invoked by uid 500); 15 Sep 2014 14:26:14 -0000 Delivered-To: apmail-argus-commits-archive@argus.apache.org Received: (qmail 39015 invoked by uid 500); 15 Sep 2014 14:26:14 -0000 Mailing-List: contact commits-help@argus.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@argus.incubator.apache.org Delivered-To: mailing list commits@argus.incubator.apache.org Received: (qmail 39006 invoked by uid 99); 15 Sep 2014 14:26:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 14:26:14 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 15 Sep 2014 14:26:13 +0000 Received: (qmail 38805 invoked by uid 99); 15 Sep 2014 14:25:52 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 14:25:52 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id EE729A13649; Mon, 15 Sep 2014 14:25:51 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sneethir@apache.org To: commits@argus.incubator.apache.org Date: Mon, 15 Sep 2014 14:25:51 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] git commit: ARGUS-55: Modified to show password only if installation is called with -Ddebug=true on the credential command to encrypt the password X-Virus-Checked: Checked by ClamAV on apache.org Repository: incubator-argus Updated Branches: refs/heads/master b1370f3a5 -> bf6402e3a ARGUS-55: Modified to show password only if installation is called with -Ddebug=true on the credential command to encrypt the password Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/7c1f9f90 Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/7c1f9f90 Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/7c1f9f90 Branch: refs/heads/master Commit: 7c1f9f90aa88779c4522894c47094feadbd3f80d Parents: c3513b2 Author: sneethiraj Authored: Mon Sep 15 08:16:53 2014 -0400 Committer: sneethiraj Committed: Mon Sep 15 08:16:53 2014 -0400 ---------------------------------------------------------------------- .../java/com/hortonworks/credentialapi/buildks.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7c1f9f90/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java ---------------------------------------------------------------------- diff --git a/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java b/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java index f5c25f9..257e311 100644 --- a/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java +++ b/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java @@ -315,14 +315,16 @@ public class buildks { public static void displayCommand(String args[]) { - StringBuffer tempBuffer=new StringBuffer(""); - if(args!=null && args.length>0){ - for(int index=0;index0){ + for(int index=0;index