X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-restconf-broker%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frestconf%2Fbroker%2Flisteners%2FSalNotificationListener.java;h=3c4bbba4a4e8a273bc1e58095e785eec2dbf17ba;hp=16ca0aee932e66d9669fcd28528c45d267dedf09;hb=b17a51ecb983331f0e521e40f9dd2474f268de13;hpb=082d7ba433b85d5810c50f624d2691088336e66a diff --git a/opendaylight/md-sal/sal-restconf-broker/src/main/java/org/opendaylight/controller/sal/restconf/broker/listeners/SalNotificationListener.java b/opendaylight/md-sal/sal-restconf-broker/src/main/java/org/opendaylight/controller/sal/restconf/broker/listeners/SalNotificationListener.java index 16ca0aee93..3c4bbba4a4 100644 --- a/opendaylight/md-sal/sal-restconf-broker/src/main/java/org/opendaylight/controller/sal/restconf/broker/listeners/SalNotificationListener.java +++ b/opendaylight/md-sal/sal-restconf-broker/src/main/java/org/opendaylight/controller/sal/restconf/broker/listeners/SalNotificationListener.java @@ -11,14 +11,14 @@ import org.opendaylight.controller.sal.binding.api.NotificationListener; import org.opendaylight.yangtools.yang.binding.Notification; -public class SalNotificationListener implements NotificationListener { - private NotificationListener notificationListener; +public class SalNotificationListener implements NotificationListener { + private NotificationListener notificationListener; - public SalNotificationListener( NotificationListener notificationListener){ + public SalNotificationListener( NotificationListener notificationListener){ this.notificationListener = notificationListener; } @Override public void onNotification(Notification notification) { - this.notificationListener.onNotification(notification); + this.notificationListener.onNotification((T)notification); } }