Yuta HIGUCHI
Committed by Pavlin Radoslavov

DistributedFlowRuleStore: getFlowEntries should never return null

resoves ONOS-478

[Merged from master]

Change-Id: I3fd84088afd9c9f616858037829cac70708cc66e
(cherry picked from commit 24f79eb3)
......@@ -334,7 +334,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) {
......