Bump to odlparent 3.1.0 and yangtools 2.0.3
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / netconf / listener / UncancellableFuture.java
index 77b7d1c142cc3ef4071e9d34a16ed63703700c57..126ca5680e2494efbd8f8e9cd79db768d5f1d958 100644 (file)
@@ -9,6 +9,7 @@ package org.opendaylight.netconf.sal.connect.netconf.listener;
 
 import com.google.common.base.Preconditions;
 import com.google.common.util.concurrent.AbstractFuture;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import javax.annotation.Nullable;
 
 final class UncancellableFuture<V> extends AbstractFuture<V> {
@@ -36,6 +37,8 @@ final class UncancellableFuture<V> extends AbstractFuture<V> {
         return !uncancellable && super.cancel(mayInterruptIfRunning);
     }
 
+    @SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
+            justification = "Unrecognised NullableDecl")
     @Override
     public boolean set(@Nullable final V value) {
         Preconditions.checkState(uncancellable);