Commented System.out.println which print user password!

Bug item #1717620
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=1717620&group_id=176962
This commit is contained in:
trifonnt 2007-05-18 23:52:32 +00:00
parent a6c4f8bfde
commit 29e8400cbf
1 changed files with 5 additions and 6 deletions

View File

@ -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);