Fix findbugs violations in netconf
[netconf.git] / netconf / netconf-impl / src / main / java / org / opendaylight / netconf / impl / NetconfServerSessionNegotiator.java
index b3e263a92beadc5f17597abc0eb46340556f3ff2..e32d5c7e451be7f4492b95ad499c11e5dc988627 100644 (file)
@@ -9,6 +9,7 @@
 package org.opendaylight.netconf.impl;
 
 import com.google.common.base.Optional;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import io.netty.channel.Channel;
 import io.netty.channel.local.LocalAddress;
 import io.netty.util.Timer;
@@ -52,6 +53,7 @@ public class NetconfServerSessionNegotiator
     }
 
     @Override
+    @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE")
     protected NetconfServerSession getSession(
             NetconfServerSessionListener sessionListener, Channel channel,
             NetconfHelloMessage message) {