Code cleanup for vpnintent module as per comments
[vpnservice.git] / vpnintent / impl / src / main / java / org / opendaylight / vpnservice / impl / IntentServiceManager.java
index dda5447d224863684e70d5c79a4fd7a734cc0f09..5fe2466281be6eaa9c0e119a7647c8b67194f3dc 100644 (file)
@@ -41,15 +41,13 @@ import org.slf4j.LoggerFactory;
 
 import com.google.common.base.Preconditions;
 
-
+/**
+ * This class is used to build Intents object and
+ * write it to Network Intent Composition md-sal tree
+ * in order to create/delete intents between two endpoint groups.
+ */
 public class IntentServiceManager {
 
-    /**
-     * This class is used to build Intents object and
-     * write it to Network Intent Composition md-sal tree
-     * in order to create/delete intents between two endpoint groups.
-     */
-
     private static final Logger LOG = LoggerFactory.getLogger(IntentServiceManager.class);
     private static final short FIRST_SUBJECT = 1;
     private static final short SECOND_SUBJECT = 2;
@@ -59,7 +57,7 @@ public class IntentServiceManager {
     public static final String SLOW_REROUTE = "slow-reroute";
     private final DataBroker dataBroker;
     private static final InstanceIdentifier<Intents> INTENTS_IID = IidFactory.getIntentsIid();
-    private MdsalUtils mdsal;
+    private final MdsalUtils mdsal;
 
     public IntentServiceManager(DataBroker dataBroker) {
         this.dataBroker = dataBroker;