Annotate mdsal-binding-api with @NonNull
[mdsal.git] / binding / mdsal-binding-api / src / main / java / org / opendaylight / mdsal / binding / api / DataBroker.java
index 16e271712328e95a1dfd15244ee1a55c8152b9fd..39a984fbe0d97325ef606023296cfc53ae20e7d0 100644 (file)
@@ -7,6 +7,8 @@
  */
 package org.opendaylight.mdsal.binding.api;
 
+import org.eclipse.jdt.annotation.NonNull;
+
 /**
  * Provides access to a conceptual data tree store and also provides the ability to
  * subscribe for changes to data under a given branch of the tree.
@@ -46,5 +48,5 @@ public interface DataBroker extends BindingService, TransactionFactory, DataTree
      * @param listener Transaction chain event listener
      * @return A new transaction chain.
      */
-    TransactionChain createTransactionChain(TransactionChainListener listener);
+    @NonNull TransactionChain createTransactionChain(@NonNull TransactionChainListener listener);
 }