Resolved some unchecked Types
This commit is contained in:
@@ -14,7 +14,7 @@ import appeng.tile.AEBaseTile;
|
||||
public class TileItemGen extends AEBaseTile implements IInventory
|
||||
{
|
||||
|
||||
public static Queue<ItemStack> possibleItems = new LinkedList();
|
||||
public static Queue<ItemStack> possibleItems = new LinkedList<ItemStack>();
|
||||
|
||||
public TileItemGen() {
|
||||
if ( possibleItems.isEmpty() )
|
||||
|
||||
@@ -84,7 +84,7 @@ public class ToolDebugCard extends AEBaseItem
|
||||
{
|
||||
int length = 0;
|
||||
|
||||
HashSet<IGridNode> next = new HashSet();
|
||||
HashSet<IGridNode> next = new HashSet<IGridNode>();
|
||||
next.add( node );
|
||||
|
||||
int maxLength = 10000;
|
||||
@@ -92,7 +92,7 @@ public class ToolDebugCard extends AEBaseItem
|
||||
outer: while ( ! next.isEmpty() )
|
||||
{
|
||||
HashSet<IGridNode> current = next;
|
||||
next = new HashSet();
|
||||
next = new HashSet<IGridNode>();
|
||||
|
||||
for ( IGridNode n : current )
|
||||
{
|
||||
|
||||
@@ -34,14 +34,14 @@ public class ToolEraser extends AEBaseItem
|
||||
int meta = world.getBlockMetadata( x, y, z );
|
||||
|
||||
int blocks = 0;
|
||||
List<WorldCoord> next = new LinkedList();
|
||||
List<WorldCoord> next = new LinkedList<WorldCoord>();
|
||||
next.add( new WorldCoord( x, y, z ) );
|
||||
|
||||
while (blocks < 90000 && !next.isEmpty())
|
||||
{
|
||||
|
||||
List<WorldCoord> c = next;
|
||||
next = new LinkedList();
|
||||
next = new LinkedList<WorldCoord>();
|
||||
|
||||
for (WorldCoord wc : c)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user