Merge "CPS-635 - Module Resource call does not include body"
authorToine Siebelink <toine.siebelink@est.tech>
Fri, 10 Sep 2021 09:22:46 +0000 (09:22 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 10 Sep 2021 09:22:46 +0000 (09:22 +0000)
1  2 
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java

@@@ -246,9 -246,9 +246,9 @@@ public class NetworkCmProxyDataServiceI
          }
      }
  
-     private Map<String, String> getCmHandlePropertiesAsMap(final Collection<DataNode> cmHandlePropertiesList) {
+     private static 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) {