Bump odlparent to 13.0.9
[yangtools.git] / parser / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / repo / SharedEffectiveModelContextFactory.java
index 072a2dabf2b2eebd6eb9b1153446c4c77839668c..9cc0e6f8fe0e4cf0ac8c98528e8762131a4288ae 100644 (file)
@@ -20,6 +20,7 @@ import com.google.common.util.concurrent.Futures;
 import com.google.common.util.concurrent.ListenableFuture;
 import com.google.common.util.concurrent.MoreExecutors;
 import com.google.common.util.concurrent.SettableFuture;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.lang.invoke.MethodHandles;
 import java.lang.invoke.VarHandle;
 import java.lang.ref.Cleaner;
@@ -76,6 +77,8 @@ final class SharedEffectiveModelContextFactory implements EffectiveModelContextF
         // - SettableFuture, in which case the model is being computed
         // - Reference, in which case the model is available through the reference (unless cleared)
         @SuppressWarnings("unused")
+        @SuppressFBWarnings(value = "URF_UNREAD_FIELD",
+            justification = "https://github.com/spotbugs/spotbugs/issues/2749")
         private volatile Object state = SettableFuture.create();
 
         @SuppressWarnings("unchecked")