aboutsummaryrefslogtreecommitdiffstats
path: root/BRMSGateway/src
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-07-26 18:05:23 +0000
committerGerrit Code Review <gerrit@onap.org>2018-07-26 18:05:23 +0000
commitdd986507648898887715a20c2f962bc714e28882 (patch)
treed0f37c733f4e82dd868d7c44432157b60a98f773 /BRMSGateway/src
parentd6838664316b9bfbc082f68889f4475cd25c81fa (diff)
parent89df27fc144d1c1a7f6beed0e0bd0038f38ec14e (diff)
Merge "Fix nested stmts issue of Sonar"
Diffstat (limited to 'BRMSGateway/src')
-rw-r--r--BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java b/BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java
index b8706bb9b..507e17fea 100644
--- a/BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java
+++ b/BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java
@@ -787,9 +787,7 @@ public class BrmsPush {
LOGGER.error("Error while starting Transaction " + e);
}
if (!modifiedGroups.isEmpty()) {
- Boolean flag;
- flag = buildAndGenerateJarFile();
- if (flag) {
+ if (buildAndGenerateJarFile()) {
sendNotification(controllers);
}
}