Enable spotbugs in mdsal-{binding,dom}-spi
[mdsal.git] / dom / mdsal-dom-spi / src / main / java / org / opendaylight / mdsal / dom / spi / store / AbstractDOMStoreTransaction.java
index cc6111ff6b2cab3780fae10945c8ef8ff2a5c1c0..07711628034df5bd0e03db31ca8e97152fd76010 100644 (file)
@@ -12,6 +12,7 @@ import static java.util.Objects.requireNonNull;
 import com.google.common.annotations.Beta;
 import com.google.common.base.MoreObjects;
 import com.google.common.base.MoreObjects.ToStringHelper;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
@@ -33,6 +34,7 @@ public abstract class AbstractDOMStoreTransaction<T> implements DOMStoreTransact
         this(identifier, false);
     }
 
+    @SuppressFBWarnings("NP_STORE_INTO_NONNULL_FIELD")
     protected AbstractDOMStoreTransaction(final T identifier, final boolean debug) {
         this.identifier = requireNonNull(identifier, "Identifier must not be null.");
         this.debugContext = debug ? new Throwable().fillInStackTrace() : null;