Require transitive on spotbugs-annotations 68/97668/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 28 Sep 2021 14:25:47 +0000 (16:25 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 28 Sep 2021 14:25:47 +0000 (16:25 +0200)
mdsal-binding-api is using @CheckReturnValue, which is not included in
the transitively-visible set and triggers two warnings from javac. Fix
that.

Change-Id: I6007a4745cbb31bd446e52fe7254e26c01388a7c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-api/src/main/java/module-info.java

index ae78ec94c287cc9d23b07701e53198079bd00644..c61351a2c91b4fbce679a63aa315aed9192a1ef2 100644 (file)
@@ -15,5 +15,5 @@ module org.opendaylight.mdsal.binding.api {
 
     // Annotations
     requires static transitive org.eclipse.jdt.annotation;
-    requires static com.github.spotbugs.annotations;
+    requires static transitive com.github.spotbugs.annotations;
 }