*/
package org.opendaylight.controller.md.sal.binding.compat;
-import javax.annotation.Nonnull;
import org.opendaylight.controller.md.sal.binding.impl.LazySerializedDOMNotification;
import org.opendaylight.controller.md.sal.dom.api.DOMNotification;
import org.opendaylight.controller.md.sal.dom.api.DOMNotificationListener;
import org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer;
import org.opendaylight.yangtools.yang.binding.Notification;
+@Deprecated
final class FunctionalNotificationListenerAdapter<N extends Notification> implements DOMNotificationListener {
private final BindingNormalizedNodeSerializer codec;
}
@Override
- public void onNotification(@Nonnull final DOMNotification notification) {
+ public void onNotification(final DOMNotification notification) {
delegate.onNotification(type.cast(deserialize(notification)));
}