Merge "Added Nonnull annotation for get operation"
authorRobert Varga <rovarga@cisco.com>
Mon, 15 Sep 2014 09:39:03 +0000 (09:39 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 15 Sep 2014 09:39:03 +0000 (09:39 +0000)
code-generator/binding-data-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/impl/NodeContextSupplier.java

index f61e8f62cfcdac57dbdaf27a5991b0c8c08b968d..a0529e504aa8ce3e04e58dc35fcc98ca51955649 100644 (file)
@@ -8,11 +8,12 @@
 package org.opendaylight.yangtools.binding.data.codec.impl;
 
 import com.google.common.base.Supplier;
+import javax.annotation.Nonnull;
 
 /**
  * Type capture of an entity producing NodeCodecContexts.
  */
 interface NodeContextSupplier extends Supplier<NodeCodecContext> {
     @Override
-    NodeCodecContext get();
+    @Nonnull NodeCodecContext get();
 }