private static final Logger LOG = LoggerFactory.getLogger(EvpnRibSupport.class);
private static final NodeIdentifier NLRI_ROUTES_LIST = NodeIdentifier.create(EvpnDestination.QNAME);
- private static final EvpnRoutes EMPTY_CONTAINER
- = new EvpnRoutesBuilder().setEvpnRoute(Collections.emptyList()).build();
+ private static final EvpnRoutes EMPTY_CONTAINER = new EvpnRoutesBuilder().build();
private static EvpnRibSupport SINGLETON;
private EvpnRibSupport(final BindingNormalizedNodeSerializer mappingService) {
keys.add(routeKey);
}
return keys;
- } else {
- LOG.warn("Routes {} are not a map", routes);
}
+ LOG.warn("Routes {} are not a map", routes);
}
}
return Collections.emptyList();