commit | 500c317c2ee47b03aad0ead4d33c59cc99d1f426 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Tue Jan 27 11:00:39 2015 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Jan 27 23:44:18 2015 +0000 |
tree | 2415f544f2c175d08f9d2a77da3448dda7fc9f85 | |
parent | 8fd68cae15723c8d7863ca71454c7f1ff3e590ea [diff] |
Use diamond operator to simplify codes Change-Id: I2cb27782c6f47c908d06e1877705921a5f57f91e
diff --git a/providers/openflow/flow/src/main/java/org/onosproject/provider/of/flow/impl/OpenFlowRuleProvider.java b/providers/openflow/flow/src/main/java/org/onosproject/provider/of/flow/impl/OpenFlowRuleProvider.java index 65c980d..18aca8a 100644 --- a/providers/openflow/flow/src/main/java/org/onosproject/provider/of/flow/impl/OpenFlowRuleProvider.java +++ b/providers/openflow/flow/src/main/java/org/onosproject/provider/of/flow/impl/OpenFlowRuleProvider.java
@@ -118,11 +118,9 @@ // FIXME: This should be an expiring map to ensure futures that don't have // a future eventually get garbage collected. - private final Map<Long, InstallationFuture> pendingFutures = - new ConcurrentHashMap<Long, InstallationFuture>(); + private final Map<Long, InstallationFuture> pendingFutures = new ConcurrentHashMap<>(); - private final Map<Long, InstallationFuture> pendingFMs = - new ConcurrentHashMap<Long, InstallationFuture>(); + private final Map<Long, InstallationFuture> pendingFMs = new ConcurrentHashMap<>(); private final Map<Dpid, FlowStatsCollector> collectors = Maps.newHashMap();