diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java index eddbec3116..9acf80d22c 100644 --- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java +++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java @@ -108,7 +108,7 @@ public class PortMirroringEnricher { if (isSubstitutableNodeTemplate(nodeTemplate)) { List<Map<String, RequirementAssignment>> requirements = nodeTemplate.getRequirements(); if (Objects.isNull(requirements)) { - return; + continue; } requirements.forEach(requirement -> addInternalPortToAbstractNode(requirement, @@ -200,7 +200,7 @@ public class PortMirroringEnricher { toscaServiceModel.getServiceTemplates().get(serviceTemplateName); Map<String, NodeTemplate> externalNodeTemplates = entry.getValue(); if (MapUtils.isEmpty(externalNodeTemplates)) { - return; + continue; } for (Map.Entry<String, NodeTemplate> externalNodeTemplate : externalNodeTemplates |