no message
This commit is contained in:
@@ -17,20 +17,20 @@ public class UpdateComponent extends Pass<Component> {
|
||||
}
|
||||
@Override
|
||||
protected void body() throws Exception {
|
||||
PassCode subPass = PassCode.Undefined;
|
||||
PassCode subPassCode = null;
|
||||
//<editor-fold desc="получение нового файла компонента">
|
||||
switch (Current.getComponent().getComponentType()) {
|
||||
case Sapfor_F:
|
||||
case Visualizer_2:
|
||||
subPass = CommonUtils.isWindows() ? PassCode.DownloadComponent : PassCode.BuildComponent;
|
||||
subPassCode = CommonUtils.isWindows() ? PassCode.DownloadComponent : PassCode.BuildComponent;
|
||||
break;
|
||||
case Visualiser:
|
||||
case Instruction:
|
||||
case PerformanceAnalyzer:
|
||||
subPass = PassCode.DownloadComponent;
|
||||
subPassCode = PassCode.DownloadComponent;
|
||||
break;
|
||||
}
|
||||
if ((subPass != PassCode.Undefined) && passes.get(subPass).Do()) {
|
||||
if ((subPassCode != null) && passes.get(subPassCode).Do()) {
|
||||
//</editor-fold>
|
||||
if (!Current.getComponent().getNewFile().exists())
|
||||
throw new PassException("Не удалось получить новый файл для компонента " + Current.getComponent().getComponentType().getDescription());
|
||||
|
||||
Reference in New Issue
Block a user