diff options
author | Hofit Ben-Kimon <hb272c@att.com> | 2018-12-19 09:51:05 +0200 |
---|---|---|
committer | Hofit Ben-Kimon <hb272c@att.com> | 2018-12-19 09:51:05 +0200 |
commit | e7cdba9c8a87f6dfd4823214ca64016e69b45a16 (patch) | |
tree | 0738019d5f167d2891e7652d6e3a3eee3dbbb57c /openecomp-be | |
parent | 58ee4a6574b726cc6d4c2015f14e8a66117e5e89 (diff) |
[Defect][674287] fix null validation
Change-Id: I17897ca6d02e9638852441946005f1dd862c0b72
Issue-ID: SDC-2012
Signed-off-by: Hofit Ben-Kimon <hb272c@att.com>
Diffstat (limited to 'openecomp-be')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/ConsolidationService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/ConsolidationService.java b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/ConsolidationService.java index df628a06e5..28b265663e 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/ConsolidationService.java +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/ConsolidationService.java @@ -493,7 +493,7 @@ public class ConsolidationService { if (CommonUtil.isMultimapEmpty(firstEntityMap) && CommonUtil.isMultimapEmpty(secondEntityMap)) { return true; } - return !firstEntityMap.isEmpty() && !secondEntityMap.isEmpty() + return !CommonUtil.isMultimapEmpty(firstEntityMap) && !CommonUtil.isMultimapEmpty(secondEntityMap) && firstEntityMap.keySet().equals(secondEntityMap.keySet()); } |