Code cleanup and typo fix.

This commit is contained in:
trifonnt 2009-11-28 17:39:53 +00:00
parent d9063ccacb
commit 3acb327d90
1 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ public class SilentSetup {
if (adempiereHome == null || adempiereHome.length() == 0) if (adempiereHome == null || adempiereHome.length() == 0)
adempiereHome = System.getProperty("user.dir"); adempiereHome = System.getProperty("user.dir");
boolean envLoaded = false; // boolean envLoaded = false;
String fileName = adempiereHome + File.separator + ConfigurationData.ADEMPIERE_ENV_FILE; String fileName = adempiereHome + File.separator + ConfigurationData.ADEMPIERE_ENV_FILE;
File env = new File(fileName); File env = new File(fileName);
if (!env.exists()) if (!env.exists())
@ -69,10 +69,10 @@ public class SilentSetup {
CLogMgt.setLevel(args[0]); CLogMgt.setLevel(args[0]);
else else
CLogMgt.setLevel(Level.INFO); CLogMgt.setLevel(Level.INFO);
// File Loger at least FINE // File Logger at least FINE
if (fileHandler.getLevel().intValue() > Level.FINE.intValue()) if (fileHandler.getLevel().intValue() > Level.FINE.intValue())
fileHandler.setLevel(Level.FINE); fileHandler.setLevel(Level.FINE);
new SilentSetup(); new SilentSetup();
} // main }
} }