Deprecate ListenerRegistration for removal
[yangtools.git] / common / concepts / src / main / java / org / opendaylight / yangtools / concepts / NoOpListenerRegistration.java
index 26e2ca790f0855efee34afc06a0ccb0e9add6cc1..73740e8dca6671102ab0ab9c7e25838d83e062d9 100644 (file)
@@ -14,8 +14,10 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  * Implementation of {@link ListenerRegistration} which does nothing in its {@link #close()} method.
  *
  * @param <T> Type of registered listener
+ * @deprecated Use {@link NoOpObjectRegistration} instead
  */
 @NonNullByDefault
+@Deprecated(since = "12.0.0", forRemoval = true)
 public final class NoOpListenerRegistration<T extends EventListener> extends NoOpObjectRegistration<T>
         implements ListenerRegistration<T> {
     private NoOpListenerRegistration(final T instance) {