fix some sonar issues
[transportpce.git] / networkmodel / src / main / java / org / opendaylight / transportpce / networkmodel / service / NetworkModelServiceImpl.java
index 445a5f35c50e80df9e043226226620790ac8d329..984005862d9a5a449a34ca45fdda319eff605f58 100644 (file)
@@ -45,7 +45,6 @@ public class NetworkModelServiceImpl implements NetworkModelService {
     private static final boolean CREATE_MISSING_PARENTS = true;
 
     private NetworkTransactionService networkTransactionService;
-    //private final R2RLinkDiscoveryFactoryMethod linkDiscovery;
     private final R2RLinkDiscovery linkDiscovery;
     private final DeviceTransactionManager deviceTransactionManager;
     private final OpenRoadmFactory openRoadmFactory;
@@ -134,7 +133,6 @@ public class NetworkModelServiceImpl implements NetworkModelService {
                     openRoadmTopologyLink, CREATE_MISSING_PARENTS);
             }
             networkTransactionService.submit().get();
-            //linkDiscovery.readLLDP(nodeId);
             LOG.info("all nodes and links created");
         } catch (InterruptedException | ExecutionException e) {
             LOG.error("ERROR: ", e);