if (psNode.augmentation(PhysicalSwitchAugmentation.class) != null) {
return psNode.augmentation(PhysicalSwitchAugmentation.class).nonnullTunnelIps().values();
}
- return Collections.EMPTY_LIST;
+ return Collections.emptyList();
}
private List<Node> readAllConfigNodes(TypedReadTransaction<Configuration> tx) {
if (topologyOptional != null && topologyOptional.isPresent() && topologyOptional.get().getNode() != null) {
return new ArrayList<>(topologyOptional.get().nonnullNode().values());
}
- return Collections.EMPTY_LIST;
+ return Collections.emptyList();
}
}