Begin adding stricter null annotations to prepare for 1.11

This commit is contained in:
mezz committed 2017-02-05 23:47:40 -08:00
1 parent 4140ba7d7f
commit 16b955b443
330 files changed
+2302 -921

No files matched your search

@@ -14,7 +14,10 @@ import binnie.craftgui.minecraft.Window;
import binnie.craftgui.resource.minecraft.CraftGUITexture;
import net.minecraft.entity.player.InventoryPlayer;
import javax.annotation.Nullable;
public class ControlErrorState extends Control implements ITooltip {
@Nullable
private ErrorState errorState;
private int type;
@@ -92,6 +95,7 @@ public class ControlErrorState extends Control implements ITooltip {
}
}
@Nullable
public ErrorState getErrorState() {
return this.errorState;
}