no message
This commit is contained in:
@@ -3,7 +3,6 @@ import Common.CurrentAnchestor;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common_old.Constants;
|
||||
import Common_old.Current;
|
||||
import Common_old.UI.DebugPrintLevel;
|
||||
import Common_old.UI.UI;
|
||||
import Common_old.Utils.Files.VDirectoryChooser;
|
||||
import Common_old.Utils.Utils;
|
||||
@@ -55,12 +54,10 @@ public class OpenCurrentProject extends Pass_2021<db_project_info> {
|
||||
mode = Mode.ProjectInfo;
|
||||
target = (db_project_info) arg;
|
||||
dir = target.Home;
|
||||
CommonUtils.MainLog.Print(DebugPrintLevel.Project, "готовая версия " + CommonUtils.Brackets(dir.getAbsolutePath()));
|
||||
return needsOpen();
|
||||
}
|
||||
}
|
||||
if ((dir != null) && needsOpen()) {
|
||||
CommonUtils.MainLog.Print(DebugPrintLevel.Project, CommonUtils.Brackets(dir.toString()));
|
||||
if (!dir.isDirectory()) {
|
||||
Log.Writeln_(CommonUtils.Brackets(dir) + "\nне является папкой!");
|
||||
return false;
|
||||
@@ -95,7 +92,6 @@ public class OpenCurrentProject extends Pass_2021<db_project_info> {
|
||||
return;
|
||||
}
|
||||
}
|
||||
CommonUtils.MainLog.Print(DebugPrintLevel.Project, "построение дерева версий");
|
||||
target = new db_project_info(dir);
|
||||
new_root = target.CreateVersionsTree();
|
||||
target.Open();
|
||||
|
||||
@@ -5,7 +5,6 @@ import Common.Visual.CommonUI;
|
||||
import Common_old.Current;
|
||||
import GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.Global;
|
||||
import Common_old.UI.DebugPrintLevel;
|
||||
import Common_old.UI.Menus_2023.PassButton;
|
||||
import Common_old.UI.Menus_2023.PassControl;
|
||||
import Common_old.UI.Menus_2023.StablePassMenuItem;
|
||||
@@ -295,7 +294,7 @@ public class Pass_2021<T> {
|
||||
target = null;
|
||||
Log = new TextLog();
|
||||
if (!getDescription().isEmpty())
|
||||
CommonUtils.MainLog.Print(DebugPrintLevel.Passes, getDescription() + " стартует..");
|
||||
CommonUtils.MainLog.Print(getDescription() + " стартует..");
|
||||
timer.Start();
|
||||
//------------------------------->
|
||||
try {
|
||||
@@ -382,7 +381,7 @@ public class Pass_2021<T> {
|
||||
//------------------------------->
|
||||
timer.Stop();
|
||||
if (!getDescription().isEmpty()) {
|
||||
CommonUtils.MainLog.Print(DebugPrintLevel.Passes,
|
||||
CommonUtils.MainLog.Print(
|
||||
getDescription() +
|
||||
" окончен за " + timer.Print() +
|
||||
" состояние " + CommonUtils.Brackets(state.getDescription())
|
||||
|
||||
@@ -2,7 +2,6 @@ package Visual_DVM_2021.Passes;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import _VisualDVM.Global;
|
||||
import Common_old.UI.DebugPrintLevel;
|
||||
import Common_old.UI.Menus_2023.PassControl;
|
||||
import Common_old.UI.Menus_2023.PassMenuItem;
|
||||
import Common_old.UI.UI;
|
||||
@@ -83,7 +82,7 @@ public class SapforAnalysis extends SapforPass {
|
||||
unpack(sapfor.getResult());
|
||||
}
|
||||
if (!isAtomic() && !asDonePhase) {
|
||||
CommonUtils.MainLog.Print(DebugPrintLevel.Passes, "Поиск выполненных фаз..");
|
||||
CommonUtils.MainLog.Print("Поиск выполненных фаз..");
|
||||
sapfor.RunAnalysis(
|
||||
"SPF_GetPassesStateStr",
|
||||
-Global.messagesServer.getPort(),
|
||||
@@ -116,7 +115,7 @@ public class SapforAnalysis extends SapforPass {
|
||||
}
|
||||
}
|
||||
}
|
||||
CommonUtils.MainLog.Print(DebugPrintLevel.Passes, "Фазы получены.");
|
||||
CommonUtils.MainLog.Print("Фазы получены.");
|
||||
}
|
||||
}
|
||||
//---------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user