Bump upstreams
[bgpcep.git] / pcep / server / server-provider / src / main / java / org / opendaylight / bgpcep / pcep / server / provider / ManagedTeNode.java
index c685a2e09ab71348f041915948470a5f1df1f1a3..d3d0808c4f87df90648acb66b234dd05e388ccef 100644 (file)
@@ -23,27 +23,26 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 public class ManagedTeNode {
-
     private enum NodeState {
         Disabled,
         Enabled,
         Sync
     }
 
+    private static final Logger LOG = LoggerFactory.getLogger(ManagedTeNode.class);
+
+    private final ConcurrentMap<ConfiguredLspKey, ManagedTePath> mngPaths = new ConcurrentHashMap<>();
+    private final TransactionChain chain;
     private final NodeId id;
     private NodeState state;
-    private ConcurrentMap<ConfiguredLspKey, ManagedTePath> mngPaths =
-            new ConcurrentHashMap<ConfiguredLspKey, ManagedTePath>();
-    private final TransactionChain chain;
-    private static final Logger LOG = LoggerFactory.getLogger(ManagedTeNode.class);
 
     public ManagedTeNode(final NodeId id, final TransactionChain chain) {
         this.id = id;
         this.chain = chain;
-        this.state = NodeState.Enabled;
+        state = NodeState.Enabled;
     }
 
-    public ManagedTeNode(final NodeId id, TransactionChain chain, final NodeState state) {
+    public ManagedTeNode(final NodeId id, final TransactionChain chain, final NodeState state) {
         this.id = id;
         this.chain = chain;
         this.state = state;