рефакторинг. переносил текущие объекты в другое место

This commit is contained in:
2024-10-13 22:08:13 +03:00
parent 09b64218bd
commit 6afa2dc892
240 changed files with 1472 additions and 1518 deletions

View File

@@ -2,6 +2,7 @@ package Visual_DVM_2021.Passes.All;
import Common.Current_;
import _VisualDVM.Constants;
import _VisualDVM.Current;
import _VisualDVM.Global;
import _VisualDVM.GlobalData.RemoteFile.RemoteFile;
public class ShowSapforCompilationOut extends ShowTestingServerFile{
@Override
@@ -18,9 +19,9 @@ public class ShowSapforCompilationOut extends ShowTestingServerFile{
}
@Override
protected boolean canStart(Object... args) throws Exception {
if (!Current_.Check(Log,Current.ServerSapfor)){
if (!Global.mainModule.Check(Log,Current.ServerSapfor)){
return false;
}
return super.canStart("Поток вывода", new RemoteFile(Current.getServerSapfor().home_path, Constants.out_file));
return super.canStart("Поток вывода", new RemoteFile(Global.mainModule.getServerSapfor().home_path, Constants.out_file));
}
}