Simplify boolean expressions in groovy
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / groovy / org / openecomp / mso / bpmn / infrastructure / scripts / DoCreateVnfAndModulesRollback.groovy
index 82eea43..c5d87d8 100644 (file)
@@ -181,7 +181,7 @@ class DoCreateVnfAndModulesRollback extends AbstractServiceTaskProcessor {
                        utils.log("ERROR", "Exception Occured Processing postProcessCreateVfModuleRollback. Exception is:\n" + e, isDebugLogEnabled)\r
                        exceptionUtil.buildAndThrowWorkflowException(execution, 1002, "Error Occurred during postProcessCreateVfModuleRollback Method:\n" + e.getMessage())\r
                }\r
-               if (rolledBack == false) {\r
+               if (!rolledBack) {\r
                        logDebug("Failure on DoCreateVfModuleRollback", isDebugLogEnabled)\r
                        utils.log("ERROR", "Unsuccessful rollback of DoCreateVfModule")\r
                        exceptionUtil.buildAndThrowWorkflowException(execution, 1002, "Error Occurred during rollback of DoCreateVfModule")\r