Migrate AbstractDeclaredStatement to JDT annotations
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / meta / DeclaredStatement.java
index 11167a01f7e45a6b90d79d589f8103f9ed674468..22089dd26a0f62c9fb2c4bce8042796fb59a5735 100644 (file)
@@ -14,7 +14,6 @@ import com.google.common.collect.Collections2;
 import java.util.Collection;
 import java.util.Optional;
 import java.util.stream.Stream;
-import javax.annotation.Nonnull;
 import javax.annotation.Nullable;
 import org.eclipse.jdt.annotation.NonNull;
 
@@ -37,7 +36,7 @@ public interface DeclaredStatement<A> extends ModelStatement<A> {
      *
      * @return Collection of statements, which were explicitly declared in source of model.
      */
-    @Nonnull Collection<? extends DeclaredStatement<?>> declaredSubstatements();
+    @NonNull Collection<? extends DeclaredStatement<?>> declaredSubstatements();
 
     /**
      * Returns collection of explicitly declared child statements, while preserving its original ordering from original