Fix annotation imports 94/93894/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 18 Nov 2020 12:12:55 +0000 (13:12 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 20 Nov 2020 16:56:35 +0000 (17:56 +0100)
We are propagating @NonNull towards our users and are using
@SuppressFBWarnings (which we don't propagate).

JIRA: YANGTOOLS-934
Change-Id: I9e6fc6edb79b7d29f98201b074ca32295b33f646
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 2385aa7f0e3fb820348fd6ebe60b007444400d8a)

yang/yang-model-api/src/main/java/module-info.java

index c6249544e083d17c9a07bfaa2be19c35f0041954..68710656df138d46ff82f988d3098e5f2985ec2a 100644 (file)
@@ -20,5 +20,6 @@ module org.opendaylight.yangtools.yang.model.api {
     requires org.slf4j;
 
     // Annotations
-    requires static org.eclipse.jdt.annotation;
+    requires static transitive org.eclipse.jdt.annotation;
+    requires static com.github.spotbugs.annotations;
 }