Fix Blocker/Critical sonar issues 19/13719/1
authorshashikanth <shashikanth.vh@huawei.com>
Wed, 20 Sep 2017 06:46:52 +0000 (12:16 +0530)
committershashikanth <shashikanth.vh@huawei.com>
Wed, 20 Sep 2017 06:46:53 +0000 (12:16 +0530)
commite4ec0393447f52276aa246dad29f116487c9bb28
tree5407b6082640ec471c0009d3916b5b3f5163b3ab
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 condition that it does not always evaluate to "true"

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