Fixed or suppressed warnings for rawtypes and unchecked

This commit is contained in:
mezz committed 2014-09-21 01:52:57 -07:00
1 parent d314642d77
commit 2ae2cf8896
27 files changed
+54 -40

No files matched your search

@@ -20,6 +20,7 @@ import forestry.plugins.PluginApiculture;
public class GuiHandlerPipes implements IGuiHandler {
@SuppressWarnings("rawtypes")
private Pipe getPipe(World world, int x, int y, int z) {
TileEntity tile = world.getTileEntity(x, y, z);
if (tile == null)
@@ -32,6 +33,7 @@ public class GuiHandlerPipes implements IGuiHandler {
}
@Override
@SuppressWarnings("rawtypes")
public Object getClientGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) {
if (id >= GuiId.values().length)