Resolved some unchecked Types

This commit is contained in:
thatsIch
2014-09-28 22:20:14 +02:00
parent a745e00115
commit f1ffbf08a2
109 changed files with 206 additions and 206 deletions
+1 -1
View File
@@ -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 )
{
+2 -2
View File
@@ -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)
{