Adjust to yangtools-2.0.0/odlparent-3.0.0 changes
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / netconf / sal / NetconfDeviceSalProvider.java
index 4ad1dde5fefac226d5ee04bb4853ec132edf51c5..e4d16e9394f4c92d22d7bf7b6dd2bc1e8faed0ca 100644 (file)
@@ -115,8 +115,8 @@ public class NetconfDeviceSalProvider implements AutoCloseable {
         }
 
         public synchronized void onTopologyDeviceConnected(final SchemaContext initialCtx,
-                                                           final DOMDataBroker broker, final DOMRpcService rpc,
-                                                           final NetconfDeviceNotificationService notificationService) {
+                final DOMDataBroker broker, final DOMRpcService rpc,
+                final NetconfDeviceNotificationService newNotificationService) {
             Preconditions.checkNotNull(mountService, "Closed");
             Preconditions.checkState(topologyRegistration == null, "Already initialized");
 
@@ -126,8 +126,8 @@ public class NetconfDeviceSalProvider implements AutoCloseable {
 
             mountBuilder.addService(DOMDataBroker.class, broker);
             mountBuilder.addService(DOMRpcService.class, rpc);
-            mountBuilder.addService(DOMNotificationService.class, notificationService);
-            this.notificationService = notificationService;
+            mountBuilder.addService(DOMNotificationService.class, newNotificationService);
+            this.notificationService = newNotificationService;
 
             topologyRegistration = mountBuilder.register();
             LOG.debug("{}: TOPOLOGY Mountpoint exposed into MD-SAL {}", id, topologyRegistration);