no message
This commit is contained in:
@@ -146,7 +146,7 @@ public class Global {
|
||||
}
|
||||
@Override
|
||||
public String getLogName() {
|
||||
return Current.mode.toString();
|
||||
return CommonUtils.mode.toString();
|
||||
}
|
||||
};
|
||||
CommonUtils.MainLog.ClearLog();
|
||||
@@ -216,7 +216,7 @@ public class Global {
|
||||
}
|
||||
//возможно заменить settings на properties
|
||||
public static DBSetting getSetting(SettingName settingName) throws Exception {
|
||||
switch (Current.mode) {
|
||||
switch (CommonUtils.mode) {
|
||||
case Normal:
|
||||
return ((GlobalDatabase)CommonUtils.db).settings.get(settingName);
|
||||
default:
|
||||
@@ -386,10 +386,10 @@ public class Global {
|
||||
System.out.println("home directory is" + CommonUtils.Brackets(CommonUtils.Home));
|
||||
//---
|
||||
SynschronizeProperties();
|
||||
Current.mode = properties.Mode;
|
||||
System.out.println("mode is " + Current.mode);
|
||||
CommonUtils.mode = properties.Mode;
|
||||
System.out.println("mode is " + CommonUtils.mode);
|
||||
try {
|
||||
switch (Current.mode) {
|
||||
switch (CommonUtils.mode) {
|
||||
case Normal:
|
||||
NormalMode(Integer.parseInt(args[1]));
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user