Sho SHIMIZU
Committed by Gerrit Code Review

Move field assignment to declaration and make the field final

The field assignment doesn't change over the life time

Change-Id: I022dbe7ce8a1cbae8837fd97bff8610a4cada610
......@@ -578,13 +578,12 @@ public class FlowRuleManager
private final FlowRuleOperations fops;
private final AtomicBoolean hasFailed = new AtomicBoolean(false);
private Set<DeviceId> pendingDevices;
private final Set<DeviceId> pendingDevices = Sets.newConcurrentHashSet();
public FlowOperationsProcessor(FlowRuleOperations ops) {
this.stages = Lists.newArrayList(ops.stages());
this.context = ops.callback();
this.fops = ops;
pendingDevices = Sets.newConcurrentHashSet();
}
@Override
......