From 29e8400cbf08181a61d4d2a32f0db96c2a2bf15d Mon Sep 17 00:00:00 2001 From: trifonnt Date: Fri, 18 May 2007 23:52:32 +0000 Subject: [PATCH] Commented System.out.println which print user password! Bug item #1717620 https://sourceforge.net/tracker/?func=detail&atid=879332&aid=1717620&group_id=176962 --- base/src/org/compiere/db/CConnection.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/base/src/org/compiere/db/CConnection.java b/base/src/org/compiere/db/CConnection.java index 4fa0816a13..0a43f53d88 100644 --- a/base/src/org/compiere/db/CConnection.java +++ b/base/src/org/compiere/db/CConnection.java @@ -1654,19 +1654,18 @@ public class CConnection implements Serializable server = "server".equals(args[0]); System.out.println("CConnection - " + (server ? "server" : "client")); // - if (server) - { + if (server) { Adempiere.startup(false); - } - else + } else { Adempiere.startup(true); + } // System.out.println ("Connection = "); // CConnection[name=localhost{dev-dev1-adempiere},AppsHost=localhost,AppsPort=1099,type=Oracle,DBhost=dev,DBport=1521,DBname=dev1,BQ=false,FW=false,FWhost=,FWport=1630,UID=adempiere,PWD=adempiere] - System.out.println (Ini.getProperty (Ini.P_CONNECTION)); +// System.out.println (Ini.getProperty (Ini.P_CONNECTION)); CConnection cc = CConnection.get (); - System.out.println (">> " + cc.toStringLong ()); +// System.out.println (">> " + cc.toStringLong ()); Connection con = cc.getConnection (false, Connection.TRANSACTION_READ_COMMITTED); new CConnectionDialog(cc);