Committed by
Gerrit Code Review
Removed usage of deprecated method
Change-Id: I896fd7db68a0c86893423548bc0a3489ac42ac77
Showing
1 changed file
with
2 additions
and
5 deletions
| ... | @@ -590,15 +590,12 @@ public class DistributedFlowRuleStore | ... | @@ -590,15 +590,12 @@ public class DistributedFlowRuleStore |
| 590 | log.trace("Forwarding removeFlowRule to {}, which is the master for device {}", | 590 | log.trace("Forwarding removeFlowRule to {}, which is the master for device {}", |
| 591 | master, deviceId); | 591 | master, deviceId); |
| 592 | 592 | ||
| 593 | - return Futures.get(clusterCommunicator.sendAndReceive( | 593 | + return Futures.getUnchecked(clusterCommunicator.sendAndReceive( |
| 594 | rule, | 594 | rule, |
| 595 | REMOVE_FLOW_ENTRY, | 595 | REMOVE_FLOW_ENTRY, |
| 596 | SERIALIZER::encode, | 596 | SERIALIZER::encode, |
| 597 | SERIALIZER::decode, | 597 | SERIALIZER::decode, |
| 598 | - master), | 598 | + master)); |
| 599 | - FLOW_RULE_STORE_TIMEOUT_MILLIS, | ||
| 600 | - TimeUnit.MILLISECONDS, | ||
| 601 | - RuntimeException.class); | ||
| 602 | } | 599 | } |
| 603 | 600 | ||
| 604 | private FlowRuleEvent removeFlowRuleInternal(FlowEntry rule) { | 601 | private FlowRuleEvent removeFlowRuleInternal(FlowEntry rule) { | ... | ... |
-
Please register or login to post a comment