Do not leak SuppressFBWarnings from UnresolvedQName 99/106299/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 30 May 2023 21:56:42 +0000 (23:56 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 30 May 2023 22:43:36 +0000 (00:43 +0200)
commitb0fa6a8ad00b48326aa1b9a746e01c079830c7ba
tree0c82af5da52f982a67636c4d1233f3d188076487
parent7e7320764df1c5d72330cdfdd4d3d62421e8c19a
Do not leak SuppressFBWarnings from UnresolvedQName

Encapsulate SpotBugs-sensitive operations in a non-public class so that
we do not leak that annotation to the outside world.

Change-Id: I82b3b2795c68416fe7e4c4e1eae707358daefae3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
common/yang-common/pom.xml
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/DoNotLeakSpotbugs.java [new file with mode: 0644]
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/UnresolvedQName.java