From d4df608ff05ef9fbebf41b35afa69b2f5db0cd02 Mon Sep 17 00:00:00 2001 From: Sho SHIMIZU Date: Tue, 20 Jan 2015 19:23:16 -0800 Subject: [PATCH] Use diamond operator to simplify the code Change-Id: Ia1e02131817a94e2ca86a0bb51924e11d14742e0 --- .../java/org/onosproject/net/flow/impl/FlowRuleManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5b20a55f11..7d1022cd38 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,7 +449,7 @@ public class FlowRuleManager Multimap batches) { this.futures = futures; this.batches = batches; - state = new AtomicReference(); + state = new AtomicReference<>(); state.set(BatchState.STARTED); }