перенос проходов в центральный модуль
This commit is contained in:
@@ -37,9 +37,9 @@ public class ResurrectComponentFromServer extends CurrentComponentPass {
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
remoteFile = null;
|
||||
localFile = null;
|
||||
if (super.canStart() && passes.get(PassCode.GetComponentsBackupsFromServer).Do()) {
|
||||
if (super.canStart() && Global.mainModule.getPass(PassCode.GetComponentsBackupsFromServer).Do()) {
|
||||
//1. Получить список бекапов.
|
||||
backups = (Vector<RemoteFile>) passes.get(PassCode.GetComponentsBackupsFromServer).target;
|
||||
backups = (Vector<RemoteFile>) Global.mainModule.getPass(PassCode.GetComponentsBackupsFromServer).target;
|
||||
backups.sort((o1, o2) -> o2.name.compareTo(o1.name));
|
||||
Dialog d = new Dialog(null) {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user