X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-binding-broker%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Fcompat%2FAbstractNotificationListenerRegistration.java;h=71b6593bb74734cd7d352c9161f02e137e080ce1;hb=3ec97cd0a86ad1b79f6854dc6924eb7b06e359a3;hp=540c26131621477ef00f95d0055db2576ce7550c;hpb=608760751ce7fcf4e84e86a8b33d43bc1d9984d6;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/AbstractNotificationListenerRegistration.java b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/AbstractNotificationListenerRegistration.java index 540c261316..71b6593bb7 100644 --- a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/AbstractNotificationListenerRegistration.java +++ b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/AbstractNotificationListenerRegistration.java @@ -7,21 +7,23 @@ */ package org.opendaylight.controller.md.sal.binding.compat; +import com.google.common.base.Preconditions; import org.opendaylight.controller.sal.binding.api.NotificationListener; import org.opendaylight.yangtools.concepts.AbstractListenerRegistration; import org.opendaylight.yangtools.yang.binding.Notification; -import com.google.common.base.Preconditions; - /** * Abstract implementation of {@link NotificationListenerRegistration}. * * @param Notification type */ -abstract class AbstractNotificationListenerRegistration extends AbstractListenerRegistration> implements NotificationListenerRegistration { +@Deprecated +abstract class AbstractNotificationListenerRegistration + extends AbstractListenerRegistration> implements NotificationListenerRegistration { private final Class type; - protected AbstractNotificationListenerRegistration(final Class type, final NotificationListener listener) { + protected AbstractNotificationListenerRegistration(final Class type, + final NotificationListener listener) { super(listener); this.type = Preconditions.checkNotNull(type); }