Bump odlparent to 6.0.0
[netconf.git] / netconf / netconf-netty-util / src / main / java / org / opendaylight / netconf / nettyutil / AbstractNetconfSessionNegotiator.java
index 12062b2d4068090376bf81fb19182507c1e98090..978bd381c2afe9e74dd05ccbc0f4b541b38b4828 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.netconf.nettyutil;
 import static com.google.common.base.Preconditions.checkState;
 import static java.util.Objects.requireNonNull;
 
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import io.netty.channel.Channel;
 import io.netty.channel.ChannelFuture;
 import io.netty.channel.ChannelHandler;
@@ -154,6 +155,8 @@ public abstract class AbstractNetconfSessionNegotiator<P extends NetconfSessionP
         }, connectionTimeoutMillis, TimeUnit.MILLISECONDS);
     }
 
+    @SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD",
+            justification = "https://github.com/spotbugs/spotbugs/issues/811")
     private void cancelTimeout() {
         if (timeout != null) {
             timeout.cancel();