Sho SHIMIZU
Committed by Gerrit Code Review

Use diamond operator to simplify codes

Change-Id: I2cb27782c6f47c908d06e1877705921a5f57f91e
...@@ -118,11 +118,9 @@ public class OpenFlowRuleProvider extends AbstractProvider implements FlowRulePr ...@@ -118,11 +118,9 @@ public class OpenFlowRuleProvider extends AbstractProvider implements FlowRulePr
118 118
119 // FIXME: This should be an expiring map to ensure futures that don't have 119 // FIXME: This should be an expiring map to ensure futures that don't have
120 // a future eventually get garbage collected. 120 // a future eventually get garbage collected.
121 - private final Map<Long, InstallationFuture> pendingFutures = 121 + private final Map<Long, InstallationFuture> pendingFutures = new ConcurrentHashMap<>();
122 - new ConcurrentHashMap<Long, InstallationFuture>();
123 122
124 - private final Map<Long, InstallationFuture> pendingFMs = 123 + private final Map<Long, InstallationFuture> pendingFMs = new ConcurrentHashMap<>();
125 - new ConcurrentHashMap<Long, InstallationFuture>();
126 124
127 private final Map<Dpid, FlowStatsCollector> collectors = Maps.newHashMap(); 125 private final Map<Dpid, FlowStatsCollector> collectors = Maps.newHashMap();
128 126
......