Migrate mdsal-binding-api to JDT annotations
[mdsal.git] / binding / mdsal-binding-api / src / main / java / org / opendaylight / mdsal / binding / api / DataTreeService.java
index c2db154647d903587f304e338547fe093aa72963..abdec3a186c34382d2bbfd401782308a67318221 100644 (file)
@@ -8,7 +8,7 @@
 package org.opendaylight.mdsal.binding.api;
 
 import java.util.Collection;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.concepts.ListenerRegistration;
 
 /**
@@ -59,8 +59,7 @@ public interface DataTreeService extends DataTreeProducerFactory, BindingService
      * @throws DataTreeLoopException if the registration of the listener to the specified subtrees
      *         with specified producers would form a feedback loop
      */
-    @Nonnull
-    <T extends DataTreeListener> ListenerRegistration<T> registerListener(@Nonnull T listener,
-            @Nonnull Collection<DataTreeIdentifier<?>> subtrees, boolean allowRxMerges,
-            @Nonnull Collection<DataTreeProducer> producers) throws DataTreeLoopException;
+    <T extends DataTreeListener> @NonNull ListenerRegistration<T> registerListener(@NonNull T listener,
+            @NonNull Collection<DataTreeIdentifier<?>> subtrees, boolean allowRxMerges,
+            @NonNull Collection<DataTreeProducer> producers) throws DataTreeLoopException;
 }