Bump odlparent to 13.0.9
[yangtools.git] / data / yang-data-tree-ri / src / main / java / org / opendaylight / yangtools / yang / data / tree / leafref / LeafRefPath.java
index e01c3224a8886327b34172005f535a3668a0749d..f16c8189b51d654f49de0a778552368d8eb3e4d0 100644 (file)
@@ -11,6 +11,7 @@ import static com.google.common.base.Preconditions.checkArgument;
 
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.Iterables;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.lang.invoke.MethodHandles;
 import java.lang.invoke.VarHandle;
 import java.util.Arrays;
@@ -97,6 +98,7 @@ public abstract class LeafRefPath implements Immutable {
      * Cached legacy path, filled-in when {@link #getPathFromRoot()} is invoked.
      */
     @SuppressWarnings("unused")
+    @SuppressFBWarnings(value = "UUF_UNUSED_FIELD", justification = "https://github.com/spotbugs/spotbugs/issues/2749")
     private volatile ImmutableList<QNameWithPredicate> legacyPath;
 
     protected LeafRefPath(final LeafRefPath parent, final QNameWithPredicate qname) {