Fix nested stmts issue of Sonar 33/57633/2
authorKrishnajinka <kris.jinka@samsung.com>
Thu, 26 Jul 2018 04:06:15 +0000 (13:06 +0900)
committerKrishnajinka <kris.jinka@samsung.com>
Thu, 26 Jul 2018 10:59:54 +0000 (19:59 +0900)
commit89df27fc144d1c1a7f6beed0e0bd0038f38ec14e
tree07183a6c9e8c7c04d5ff379a58b0ef65a7287621
parent7957dd169d09ff5fcfdfc0384e8ed7d3534d3dc0
Fix nested stmts issue of Sonar

Policy rest util MSModeUtils have Sonar flagged issues about nesting
more than 3 control stmts. Fix these. Also a minor change from prev
commit about BrmsPush.java. Rework based on review

Issue-ID: POLICY-1009
Change-Id: Ibd3cebcdebf9cf26233e810033793a5315b93272
Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java
ONAP-REST/src/main/java/org/onap/policy/rest/util/MSModelUtils.java