diff options
Diffstat (limited to 'cps-ncmp-service/src')
-rw-r--r-- | cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operations/DmiModelOperations.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operations/DmiModelOperations.java b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operations/DmiModelOperations.java index f74616ab3..20a3309d0 100644 --- a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operations/DmiModelOperations.java +++ b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operations/DmiModelOperations.java @@ -136,11 +136,11 @@ public class DmiModelOperations extends DmiOperations { return asJsonObject; } - private List<ModuleReference> toModuleReferences(final Map dmiFetchModulesResponseAsMap) { + private List<ModuleReference> toModuleReferences(final Map<String, Object> dmiFetchModulesResponseAsMap) { final List<ModuleReference> moduleReferences = new ArrayList<>(); if (dmiFetchModulesResponseAsMap != null) { - final List moduleReferencesAsList = (List) dmiFetchModulesResponseAsMap.get("schemas"); + final List<Object> moduleReferencesAsList = (List) dmiFetchModulesResponseAsMap.get("schemas"); if (moduleReferencesAsList != null) { moduleReferencesAsList.forEach(moduleReferenceAsMap -> { final ModuleReference moduleReference = |