Require transitive on spotbugs-annotations 57/97857/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 28 Sep 2021 14:25:47 +0000 (16:25 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 9 Oct 2021 11:39:36 +0000 (13:39 +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>
(cherry picked from commit a876dba5ca79e2afaa33363eab457d215f375374)

binding/mdsal-binding-api/src/main/java/module-info.java

index e251a39a2efbaeac8a34fefd5f9bb64b0d89df4d..942d1dca53eb4db58abac533d883fdfb7b96eee4 100644 (file)
@@ -16,5 +16,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;
 }