Migrated to odlparent 4.0.2 and mdsal 3.0.2
[unimgr.git] / cisco-xr-driver / src / main / java / org / opendaylight / unimgr / mef / nrp / cisco / xr / TopologyDataHandler.java
index a27ab8f6a5a96f66e5a44cd3a3e69e36655ec95a..f60c4915b9ecdcd6631af441a514a357bc9b7790 100644 (file)
@@ -246,7 +246,7 @@ public class TopologyDataHandler implements DataTreeChangeListener<Node> {
             final NodeKey key = cn.key();
             try {
                 KeyedInstanceIdentifier<Node, NodeKey> id = mountIds.get(key);
-                Optional<MountPoint> mountPoint = mountService.getMountPoint(id).toJavaUtil();
+                Optional<MountPoint> mountPoint = mountService.getMountPoint(id);
                 if (mountPoint.isPresent()) {
                     DataBroker deviceBroker = mountPoint.get().getService(DataBroker.class).get();
                     LOG.debug(deviceBroker.toString());