Fixup checkstyle
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / java / org / opendaylight / controller / md / sal / binding / compat / NotificationInvoker.java
index c2fef92e65407e788b3a29e9ddb84f62e4f0d25c..1e7b9bde9f3fcd97ae0291df90ad5bec67bf1f56 100644 (file)
@@ -20,6 +20,7 @@ import org.opendaylight.yangtools.yang.binding.Notification;
 import org.opendaylight.yangtools.yang.binding.NotificationListener;
 import org.opendaylight.yangtools.yang.common.QName;
 
+@Deprecated
 final class NotificationInvoker
         implements org.opendaylight.controller.sal.binding.api.NotificationListener<Notification> {
 
@@ -55,7 +56,7 @@ final class NotificationInvoker
 
     @Override
     public void onNotification(final Notification notification) {
-        getContext(notification.getImplementedInterface()).invoke(notification);
+        getContext(notification.implementedInterface()).invoke(notification);
     }
 
     private InvokerContext getContext(final Class<?> type) {