Sho SHIMIZU
Committed by Brian O'Connor

Return empty list instead of null to improve null-safety

Change-Id: I27066a21e6acf2a0d7c7037015d19a870c6a4ae9
......@@ -616,7 +616,7 @@ public class GossipDeviceStore
if (isDeviceRemoved(deviceId, portDescriptions.timestamp())) {
log.debug("Ignoring outdated events: {}", portDescriptions);
return null;
return Collections.emptyList();
}
DeviceDescriptions descs = descsMap.get(providerId);
......