Yuta HIGUCHI
Committed by Gerrit Code Review

DistributedFlowRuleStore: getFlowEntries should never return null

resoves ONOS-478

Change-Id: I3fd84088afd9c9f616858037829cac70708cc66e
......@@ -330,7 +330,7 @@ public class DistributedFlowRuleStore
} catch (IOException | TimeoutException | ExecutionException | InterruptedException e) {
log.warn("Unable to fetch flow store contents from {}", replicaInfo.master().get());
}
return null;
return Collections.emptyList();
}
private Set<FlowEntry> getFlowEntriesInternal(DeviceId deviceId) {
......