Migrate SchemaSourceRepresentation annotations
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / repo / api / DelegatedYangTextSchemaSource.java
index 86887280ad14f330df00e5bf13e99fd2c27fe778..c2c6d02625f3abbeb007fca73d66d2dc538efd74 100644 (file)
@@ -14,10 +14,11 @@ import com.google.common.io.ByteSource;
 import java.io.IOException;
 import java.io.InputStream;
 import java.util.Optional;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.concepts.Delegator;
 
 final class DelegatedYangTextSchemaSource extends YangTextSchemaSource implements Delegator<ByteSource> {
-    private final ByteSource delegate;
+    private final @NonNull ByteSource delegate;
 
     DelegatedYangTextSchemaSource(final SourceIdentifier identifier, final ByteSource delegate) {
         super(identifier);