Madan Jampani
Committed by Gerrit Code Review

Removed usage of deprecated method

Change-Id: I896fd7db68a0c86893423548bc0a3489ac42ac77
......@@ -590,15 +590,12 @@ public class DistributedFlowRuleStore
log.trace("Forwarding removeFlowRule to {}, which is the master for device {}",
master, deviceId);
return Futures.get(clusterCommunicator.sendAndReceive(
return Futures.getUnchecked(clusterCommunicator.sendAndReceive(
rule,
REMOVE_FLOW_ENTRY,
SERIALIZER::encode,
SERIALIZER::decode,
master),
FLOW_RULE_STORE_TIMEOUT_MILLIS,
TimeUnit.MILLISECONDS,
RuntimeException.class);
master));
}
private FlowRuleEvent removeFlowRuleInternal(FlowEntry rule) {
......