Merge pull request #175 from thatsIch/TypeSafety

Type safety
This commit is contained in:
Chris
2014-09-28 19:51:31 -07:00
111 changed files with 237 additions and 239 deletions
@@ -17,7 +17,7 @@ public class AEGenericSchematicTile extends SchematicTile
public void writeRequirementsToBlueprint(IBuilderContext context, int x, int y, int z)
{
TileEntity tile = context.world().getTileEntity( x, y, z );
ArrayList<ItemStack> list = new ArrayList();
ArrayList<ItemStack> list = new ArrayList<ItemStack>();
if ( tile instanceof AEBaseTile )
{
AEBaseTile tcb = (AEBaseTile) tile;
@@ -70,7 +70,7 @@ public class NEICraftingHandler implements IOverlayHandler
if ( ctSlot.getSlotIndex() == col + row * 3 )
{
NBTTagList tags = new NBTTagList();
List<ItemStack> list = new LinkedList();
List<ItemStack> list = new LinkedList<ItemStack>();
// prefer pure crystals.
for (int x = 0; x < positionedStack.items.length; x++)
@@ -30,8 +30,8 @@ public class NEIWorldCraftingHandler implements ICraftingHandler, IUsageHandler
{
HashMap<AEItemDefinition, String> details = new HashMap<AEItemDefinition, String>();
List<AEItemDefinition> offsets = new LinkedList();
List<PositionedStack> outputs = new LinkedList();
List<AEItemDefinition> offsets = new LinkedList<AEItemDefinition>();
List<PositionedStack> outputs = new LinkedList<PositionedStack>();
ItemStack target;