diff options
author | shashikanth <shashikanth.vh@huawei.com> | 2017-09-19 14:57:58 +0530 |
---|---|---|
committer | Shashikanth VH <shashikanth.vh@huawei.com> | 2017-09-19 10:15:41 +0000 |
commit | eb04e2e81ae3402fe7ad899f34495469b4c7514e (patch) | |
tree | 875bbba818e4333f6d472d4b358edfe2ee938c41 /controlloop/common/guard | |
parent | 5a2b4712b2e1d598950260087101be6fcf59f234 (diff) |
Fix Blocker/Critical sonar issues
Fix Blocker/Critical sonar issues in policy/drools-applications module
https://sonar.onap.org/component_issues?id=org.onap.policy.drools-applications%3Adrools-pdp-apps#resolved=false|severities=CRITICAL%2CMAJOR
Fixed 2 issues,
Used isEmpty() to check whether the collection is empty or not.
getActor returns a string, there's no need to call toString()
Issue-Id:POLICY-111
Change-Id: I645420ee370ceb5fca959f870e76db2390e19929
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
Diffstat (limited to 'controlloop/common/guard')
0 files changed, 0 insertions, 0 deletions