Code Review
/
transportpce.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Reactive renderer UT
[transportpce.git]
/
renderer
/
src
/
main
/
java
/
org
/
opendaylight
/
transportpce
/
renderer
/
ModelMappingUtils.java
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 d6ccdfb3189a600e5331b0007101e59906222814..c1e37c02bf21843e2ad96d80393fbfe09234f868 100644
(file)
--- 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 Map.of("nodeId", nodeId, "tpid", lcp);
}
}
- return
null
;
+ return
Map.of()
;
}
private static Map<String, String> extractZendFromPathDescriptionForOtn(PathDescription pathDescription) {
}
private static Map<String, String> extractZendFromPathDescriptionForOtn(PathDescription pathDescription) {
@@
-513,7
+513,7
@@
public final class ModelMappingUtils {
return Map.of("nodeId", nodeId, "tpid", lcp);
}
}
return Map.of("nodeId", nodeId, "tpid", lcp);
}
}
- return
null
;
+ return
Map.of()
;
}
private static Map<String, String> extractAendFromPathDescriptionForOptical(PathDescription pathDescription) {
}
private static Map<String, String> extractAendFromPathDescriptionForOptical(PathDescription pathDescription) {
@@
-530,7
+530,7
@@
public final class ModelMappingUtils {
return Map.of("nodeId", tp.getTpNodeId(), "tpid", tp.getTpId());
}
}
return Map.of("nodeId", tp.getTpNodeId(), "tpid", tp.getTpId());
}
}
- return
null
;
+ return
Map.of()
;
}
private static Map<String, String> extractZendFromPathDescriptionForOptical(PathDescription pathDescription) {
}
private static Map<String, String> extractZendFromPathDescriptionForOptical(PathDescription pathDescription) {
@@
-547,6
+547,6
@@
public final class ModelMappingUtils {
return Map.of("nodeId", tp.getTpNodeId(), "tpid", tp.getTpId());
}
}
return Map.of("nodeId", tp.getTpNodeId(), "tpid", tp.getTpId());
}
}
- return
null
;
+ return
Map.of()
;
}
}
}
}