diff options
author | niamhcore <niamh.core@est.tech> | 2021-09-09 13:16:41 +0100 |
---|---|---|
committer | niamhcore <niamh.core@est.tech> | 2021-09-09 13:16:41 +0100 |
commit | cf65fe273c30292cacdd23b90bc7851b4f9edb3f (patch) | |
tree | 5aaa00eb1b64827201b6399adc2163d3866880a6 /cps-ncmp-service/src/main/java/org | |
parent | 2d67cfd62ad847dfbb1c286dd4e6c3f028a99685 (diff) |
Fix Sonar Qube Violations
Issue-ID: CPS-475
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: Ib8a763545e04c32c493994772f355fd3b4616098
Diffstat (limited to 'cps-ncmp-service/src/main/java/org')
-rwxr-xr-x | cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java index 871d8806bf..9ac5fd590f 100755 --- a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java +++ b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java @@ -248,7 +248,7 @@ public class NetworkCmProxyDataServiceImpl implements NetworkCmProxyDataService private Map<String, String> getCmHandlePropertiesAsMap(final Collection<DataNode> cmHandlePropertiesList) { if (cmHandlePropertiesList == null || cmHandlePropertiesList.isEmpty()) { - return null; + return Collections.emptyMap(); } final Map<String, String> cmHandlePropertiesMap = new LinkedHashMap<>(); for (final var node: cmHandlePropertiesList) { |