More nullability annotations

This commit is contained in:
nossr50
2021-01-02 15:55:37 -08:00
parent 05f07c174b
commit 26ef4cc411
2 changed files with 13 additions and 13 deletions

View File

@ -161,7 +161,7 @@ public class BitSetChunkStore implements ChunkStore {
public static final short STREAM_MAGIC = (short)0xACDC; // Rock on
public static @Nullable ChunkStore readChunkStore(DataInputStream inputStream) throws IOException {
public static @Nullable ChunkStore readChunkStore(@NotNull DataInputStream inputStream) throws IOException {
if (inputStream.markSupported())
inputStream.mark(2);
short magicNumber = inputStream.readShort();