Get rid of all the nullable-nonnull stuff, warning huge diff

This commit is contained in:
Vincent Lee committed 2016-05-18 21:03:12 -05:00
1 parent bdf51cbc8b
commit 8fb3b886a8
344 files changed
+1603 -582

No files matched your search

@@ -30,6 +30,7 @@ import vazkii.botania.common.item.ModItems;
import vazkii.botania.common.item.equipment.tool.ToolCommons;
import vazkii.botania.common.item.relic.ItemKingKey;
import javax.annotation.Nonnull;
import java.util.List;
public class EntityBabylonWeapon extends EntityThrowableCopy {
@@ -168,7 +169,7 @@ public class EntityBabylonWeapon extends EntityThrowableCopy {
}
@Override
public void writeEntityToNBT(NBTTagCompound cmp) {
public void writeEntityToNBT(@Nonnull NBTTagCompound cmp) {
super.writeEntityToNBT(cmp);
cmp.setBoolean(TAG_CHARGING, isCharging());
cmp.setInteger(TAG_VARIETY, getVariety());
@@ -179,7 +180,7 @@ public class EntityBabylonWeapon extends EntityThrowableCopy {
}
@Override
public void readEntityFromNBT(NBTTagCompound cmp) {
public void readEntityFromNBT(@Nonnull NBTTagCompound cmp) {
super.readEntityFromNBT(cmp);
setCharging(cmp.getBoolean(TAG_CHARGING));
setVariety(cmp.getInteger(TAG_VARIETY));