Committed by
Ray Milkey
Simplify the code by using the constructor initializing a reference
Change-Id: I62335690903fe21cd3400e81e20833b4a1bb7b59
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -449,8 +449,7 @@ public class FlowRuleManager | ... | @@ -449,8 +449,7 @@ public class FlowRuleManager |
449 | Multimap<DeviceId, FlowRuleBatchEntry> batches) { | 449 | Multimap<DeviceId, FlowRuleBatchEntry> batches) { |
450 | this.futures = futures; | 450 | this.futures = futures; |
451 | this.batches = batches; | 451 | this.batches = batches; |
452 | - state = new AtomicReference<>(); | 452 | + this.state = new AtomicReference<>(BatchState.STARTED); |
453 | - state.set(BatchState.STARTED); | ||
454 | } | 453 | } |
455 | 454 | ||
456 | @Override | 455 | @Override | ... | ... |
-
Please register or login to post a comment