diff --git a/core/net/src/main/java/org/onosproject/net/flow/impl/FlowRuleManager.java b/core/net/src/main/java/org/onosproject/net/flow/impl/FlowRuleManager.java index 7d1022cd38..3ca37cc0d5 100644 --- a/core/net/src/main/java/org/onosproject/net/flow/impl/FlowRuleManager.java +++ b/core/net/src/main/java/org/onosproject/net/flow/impl/FlowRuleManager.java @@ -449,8 +449,7 @@ public class FlowRuleManager Multimap batches) { this.futures = futures; this.batches = batches; - state = new AtomicReference<>(); - state.set(BatchState.STARTED); + this.state = new AtomicReference<>(BatchState.STARTED); } @Override