Fix Blocker/Critical sonar issues 01/13701/1
authorshashikanth <shashikanth.vh@huawei.com>
Wed, 20 Sep 2017 06:15:07 +0000 (11:45 +0530)
committershashikanth <shashikanth.vh@huawei.com>
Wed, 20 Sep 2017 06:15:08 +0000 (11:45 +0530)
commitf40092e081470b262f9dd4fea620b273a45b4629
tree2c6842903d2187e00129d5e95d6ae70bebcbc0a5
parenta40af07cdb70ab61e06e68d020ff398cc9055828
Fix Blocker/Critical sonar issues

Fix Blocker/Critical sonar issues in aai/sparky-be module
https://sonar.onap.org/component_issues?id=org.openecomp.aai.sparky-be%3Asparky-be#resolved=false|severities=BLOCKER

Fixed: NullPointerException might be thrown as 'aaiQueryResult' is nullable here
NullPointerException might be thrown as 'rootNode' is nullable here

Issue-Id:AAI-342
Change-Id: Ie91d695ada7159ca002385407cf1c8e0f0d59d6d
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
src/main/java/org/openecomp/sparky/synchronizer/CrossEntityReferenceSynchronizer.java