Use proper @Nullable annotation from spotbugs

This commit is contained in:
VADemon 2020-12-23 13:21:12 +01:00
parent 1df02557d1
commit 126b0e67de
2 changed files with 6 additions and 1 deletions

View file

@ -59,6 +59,11 @@
<scope>compile</scope> <scope>compile</scope>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>4.2.0</version>
</dependency>
</dependencies> </dependencies>
<build> <build>

View file

@ -1,7 +1,7 @@
package com.github.steveice10.packetlib; package com.github.steveice10.packetlib;
import com.github.steveice10.packetlib.packet.PacketProtocol; import com.github.steveice10.packetlib.packet.PacketProtocol;
import com.sun.istack.internal.Nullable; import javax.annotation.Nullable;
import java.net.InetSocketAddress; import java.net.InetSocketAddress;
/** /**