Migrate mdsal-binding-api to JDT annotations
[mdsal.git] / binding / mdsal-binding-api / src / main / java / org / opendaylight / mdsal / binding / api / DataTreeProducerFactory.java
index 7a51ba08251df46afd38b04f5fe0859de0e854ce..67b62d8c3d624ef0752d47017058866da043b086 100644 (file)
@@ -8,9 +8,9 @@
 package org.opendaylight.mdsal.binding.api;
 
 import java.util.Collection;
+import org.eclipse.jdt.annotation.NonNull;
 
 public interface DataTreeProducerFactory {
-
     /**
      * Create a producer, which is able to access to a set of trees.
      *
@@ -18,6 +18,5 @@ public interface DataTreeProducerFactory {
      * @return A {@link DataTreeProducer} instance.
      * @throws IllegalArgumentException if subtrees is empty.
      */
-    DataTreeProducer createProducer(Collection<DataTreeIdentifier<?>> subtrees);
-
+    @NonNull DataTreeProducer createProducer(@NonNull Collection<DataTreeIdentifier<?>> subtrees);
 }
\ No newline at end of file