продолжение рефакторинга. создал предка для класса current
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.CurrentAnchestor;
|
||||
import Common_old.Constants;
|
||||
import Common_old.Current;
|
||||
import GlobalData.RemoteFile.RemoteFile;
|
||||
@@ -17,7 +18,7 @@ public class ShowSapforCompilationErr extends ShowTestingServerFile{
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if (!Current.Check(Log,Current.ServerSapfor)){
|
||||
if (!CurrentAnchestor.Check(Log,Current.ServerSapfor)){
|
||||
return false;
|
||||
}
|
||||
return super.canStart("Поток ошибок", new RemoteFile(Current.getServerSapfor().home_path, Constants.err_file));
|
||||
|
||||
Reference in New Issue
Block a user