продолжение рефакторинга. создал предка для класса current
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.CurrentAnchestor;
|
||||
import Common_old.Current;
|
||||
import _VisualDVM.Global;
|
||||
import Common_old.UI.Menus_2023.PassMenuItem;
|
||||
@@ -77,7 +78,7 @@ public class ResurrectComponentFromServer extends CurrentComponentPass {
|
||||
content = tree;
|
||||
}
|
||||
};
|
||||
if (d.ShowDialog("Выбор версии для восстановления")&&Current.Check(Log, Current.ComponentServerBackup)){
|
||||
if (d.ShowDialog("Выбор версии для восстановления")&& CurrentAnchestor.Check(Log, Current.ComponentServerBackup)){
|
||||
remoteFile = Current.getComponentServerBackup();
|
||||
return true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user