AbstractNotificationsData.writeNormalizedNode() should take inference
[netconf.git] / restconf / restconf-nb-bierman02 / src / main / java / org / opendaylight / netconf / sal / streams / listeners / Notificator.java
index 241b66d06f2f4a538a207dea57fc7cac11342e3c..5bfa79ffd9d9ef006359cd1e6a4f40e1bc2dd1e9 100644 (file)
@@ -18,7 +18,7 @@ import org.opendaylight.netconf.sal.restconf.impl.ControllerContext;
 import org.opendaylight.yang.gen.v1.urn.sal.restconf.event.subscription.rev140708.NotificationOutputTypeGrouping.NotificationOutputType;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 import org.opendaylight.yangtools.yang.model.api.NotificationDefinition;
-import org.opendaylight.yangtools.yang.model.api.SchemaPath;
+import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -180,10 +180,10 @@ public final class Notificator {
      *             type of output for onNotification - XML or JSON
      * @return List of {@link NotificationListenerAdapter} by paths
      */
-    public static List<NotificationListenerAdapter> createNotificationListener(final List<SchemaPath> paths,
+    public static List<NotificationListenerAdapter> createNotificationListener(final List<Absolute> paths,
             final String streamName, final String outputType, final ControllerContext controllerContext) {
         final List<NotificationListenerAdapter> listListeners = new ArrayList<>();
-        for (final SchemaPath path : paths) {
+        for (final Absolute path : paths) {
             final NotificationListenerAdapter listener =
                     new NotificationListenerAdapter(path, streamName, outputType, controllerContext);
             listListeners.add(listener);