summaryrefslogtreecommitdiffstats
path: root/bpmn
diff options
context:
space:
mode:
Diffstat (limited to 'bpmn')
-rw-r--r--bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/workflow/serviceTask/AbstractSdncVlOperationTask.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/workflow/serviceTask/AbstractSdncVlOperationTask.java b/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/workflow/serviceTask/AbstractSdncVlOperationTask.java
index 8b26d01432..212711e5f3 100644
--- a/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/workflow/serviceTask/AbstractSdncVlOperationTask.java
+++ b/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/workflow/serviceTask/AbstractSdncVlOperationTask.java
@@ -89,23 +89,21 @@ public abstract class AbstractSdncVlOperationTask extends BaseTask {
} catch (Exception e) {
System.out.println(e);
logger.error(MessageEnum.GENERAL_EXCEPTION, " getMsbIp catch exception: ", "", this.getTaskName(), MsoLogger.ErrorCode.UnknownError, e.getClass().toString());
- } finally {
- return defaultValue;
}
+ return defaultValue;
}
private Integer getInteger(DelegateExecution execution, String name, Integer defaultValue) {
Integer vlaue = (Integer) execution.getVariable(name);
try {
- if (vlaue != null && vlaue instanceof Integer) {
+ if (vlaue != null) {
return vlaue;
}
} catch (Exception e) {
System.out.println(e);
logger.error(MessageEnum.GENERAL_EXCEPTION, " getMsbIp catch exception: ", "", this.getTaskName(), MsoLogger.ErrorCode.UnknownError, e.getClass().toString());
- } finally {
- return defaultValue;
}
+ return defaultValue;
}
public String getProcessKey(DelegateExecution execution) {