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=CRITICAL
Fixed Correct this "&" to "&&".
Issue-Id:AAI-342
Change-Id: Ia6bd54cf18406c3327b77820abe68a6c0f4484b9
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
public void addQueryParams(Collection<String> params) {
- if (params != null & params.size() > 0) {
+ if (params != null && !params.isEmpty()) {
for (String param : params) {
addQueryParam(param);