Propagate @Nonnull and @Nullable annotations
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / schema / nodes / AbstractImmutableNormalizedValueNode.java
index 60b5203dc018706d841408829af93a63787a8597..7467d0632458f5eaaaafa121e7c16ff08550dbc8 100644 (file)
@@ -19,7 +19,7 @@ public abstract class AbstractImmutableNormalizedValueNode<K extends PathArgumen
     @Nullable
     private final V value;
 
-    protected AbstractImmutableNormalizedValueNode(final K nodeIdentifier, final V value) {
+    protected AbstractImmutableNormalizedValueNode(final K nodeIdentifier, @Nullable final V value) {
         super(nodeIdentifier);
         if (value == null) {
             /*
@@ -31,6 +31,7 @@ public abstract class AbstractImmutableNormalizedValueNode<K extends PathArgumen
         this.value = value;
     }
 
+    @Nullable
     @Override
     public final V getValue() {
         return value;