Simplify the code by using the constructor initializing a reference

Change-Id: I62335690903fe21cd3400e81e20833b4a1bb7b59
This commit is contained in:
Sho SHIMIZU 2015-01-20 19:25:03 -08:00 committed by Ray Milkey
parent d4df608ff0
commit d58c5b742f

View File

@ -449,8 +449,7 @@ public class FlowRuleManager
Multimap<DeviceId, FlowRuleBatchEntry> batches) {
this.futures = futures;
this.batches = batches;
state = new AtomicReference<>();
state.set(BatchState.STARTED);
this.state = new AtomicReference<>(BatchState.STARTED);
}
@Override