Bump odlparent to 6.0.0
[bgpcep.git] / bgp / openconfig-rp-impl / src / main / java / org / opendaylight / protocol / bgp / openconfig / routing / policy / impl / BGPRibPolicyImpl.java
index fc90a335b4f1746d5c700f2c3193a07a4398f75f..390a48dbd0096696776730143830c89a603e91b7 100644 (file)
@@ -14,6 +14,7 @@ import static org.opendaylight.protocol.bgp.openconfig.routing.policy.spi.regist
 import com.google.common.cache.CacheBuilder;
 import com.google.common.cache.CacheLoader;
 import com.google.common.cache.LoadingCache;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.util.Collections;
 import java.util.List;
 import java.util.Optional;
@@ -85,6 +86,8 @@ final class BGPRibPolicyImpl implements BGPRibRoutingPolicy {
         this.ribBaseParameters = new PolicyRIBBaseParametersImpl(localAs, originatorId, clusterId);
     }
 
+    @SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD",
+            justification = "https://github.com/spotbugs/spotbugs/issues/811")
     private List<Statement> loadStatements(final String key) throws ExecutionException, InterruptedException {
         final ReadTransaction tr = this.databroker.newReadOnlyTransaction();
         final Optional<Statements> result =