Do not leak SupressFBWarnigs from YangNetconfError 84/107684/2
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 3 Sep 2023 21:42:22 +0000 (23:42 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 4 Sep 2023 08:38:33 +0000 (10:38 +0200)
There is to suppress, do not leak the SuppressFBWarnigs.

Change-Id: I611f6315dad7febf0de0d4ea28581163d91a2850
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/YangNetconfError.java

index 3a751e79bc6b5c4f0999cf5a784f90e6efc05554..30b6df444f11a5bd48787a6401e32f42bc6370b1 100644 (file)
@@ -8,7 +8,6 @@
 package org.opendaylight.yangtools.yang.data.api;
 
 import com.google.common.annotations.Beta;
-import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.util.List;
 import javax.annotation.processing.Generated;
 import org.eclipse.jdt.annotation.NonNullByDefault;
@@ -26,9 +25,7 @@ import org.opendaylight.yangtools.yang.common.ErrorType;
 @Beta
 @NonNullByDefault
 @Value.Immutable(copy = false)
-@Value.Style(stagedBuilder = true, allowedClasspathAnnotations = {
-    SuppressWarnings.class, Generated.class, SuppressFBWarnings.class,
-})
+@Value.Style(stagedBuilder = true, allowedClasspathAnnotations = { SuppressWarnings.class, Generated.class })
 // FIXME: 8.0.0: Split this interface into two:
 //               - yang.common.NetconfError, which does not have a builder sets up the stage
 //               - data.api.schema.NormalizedNetconfError