X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=renderer%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Frenderer%2FModelMappingUtils.java;h=c1e37c02bf21843e2ad96d80393fbfe09234f868;hb=26c22f3f96ad697ddcc3bcce508922b10d7ac9ff;hp=d6ccdfb3189a600e5331b0007101e59906222814;hpb=b64fb0e55236920563fbad7deab1dc53aa8c5c4b;p=transportpce.git diff --git a/renderer/src/main/java/org/opendaylight/transportpce/renderer/ModelMappingUtils.java b/renderer/src/main/java/org/opendaylight/transportpce/renderer/ModelMappingUtils.java index d6ccdfb31..c1e37c02b 100644 --- a/renderer/src/main/java/org/opendaylight/transportpce/renderer/ModelMappingUtils.java +++ b/renderer/src/main/java/org/opendaylight/transportpce/renderer/ModelMappingUtils.java @@ -496,7 +496,7 @@ public final class ModelMappingUtils { return Map.of("nodeId", nodeId, "tpid", lcp); } } - return null; + return Map.of(); } private static Map extractZendFromPathDescriptionForOtn(PathDescription pathDescription) { @@ -513,7 +513,7 @@ public final class ModelMappingUtils { return Map.of("nodeId", nodeId, "tpid", lcp); } } - return null; + return Map.of(); } private static Map extractAendFromPathDescriptionForOptical(PathDescription pathDescription) { @@ -530,7 +530,7 @@ public final class ModelMappingUtils { return Map.of("nodeId", tp.getTpNodeId(), "tpid", tp.getTpId()); } } - return null; + return Map.of(); } private static Map extractZendFromPathDescriptionForOptical(PathDescription pathDescription) { @@ -547,6 +547,6 @@ public final class ModelMappingUtils { return Map.of("nodeId", tp.getTpNodeId(), "tpid", tp.getTpId()); } } - return null; + return Map.of(); } }