import com.google.common.util.concurrent.FutureCallback;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.JdkFutureAdapters;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.math.BigInteger;
import java.util.Collection;
import java.util.Collections;
}
@Override
+ @SuppressFBWarnings(value = "NP_NULL_PARAM_DEREF", justification = "Unrecognised NullableDecl")
public String handlePacketIn(ARP packet, PacketReceived packetReceived) {
short tableId = packetReceived.getTableId().getValue();
int arpType = packet.getOpCode();
}
@Override
- @SuppressFBWarnings("DLS_DEAD_LOCAL_STORE") // TODO remove when 1st below lldpTlvTypeCur below is removed
+ // TODO remove DLS_DEAD_LOCAL_STORE when 1st below lldpTlvTypeCur below is removed
+ @SuppressFBWarnings({"DLS_DEAD_LOCAL_STORE", "NP_NULL_PARAM_DEREF"})
public String handlePacketIn(LLDP lldpPacket, PacketReceived packetReceived) {
String tempString = null;
byte lldpTlvTypeCur;
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>findbugs</artifactId>
+ <version>3.1.1</version>
+ </dependency>
+ </dependencies>
<configuration>
<failOnError>true</failOnError>
</configuration>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>findbugs</artifactId>
+ <version>3.1.1</version>
+ </dependency>
+ </dependencies>
<configuration>
<failOnError>true</failOnError>
</configuration>