Resolved some unchecked Types
This commit is contained in:
@@ -51,7 +51,7 @@ public class CraftingJob implements Runnable, ICraftingJob
|
||||
{
|
||||
world = wrapWorld( w );
|
||||
storage = AEApi.instance().storage().createItemList();
|
||||
prophecies = new HashSet();
|
||||
prophecies = new HashSet<IAEItemStack>();
|
||||
original = null;
|
||||
availableCheck = null;
|
||||
}
|
||||
@@ -71,7 +71,7 @@ public class CraftingJob implements Runnable, ICraftingJob
|
||||
world = wrapWorld( w );
|
||||
output = what.copy();
|
||||
storage = AEApi.instance().storage().createItemList();
|
||||
prophecies = new HashSet();
|
||||
prophecies = new HashSet<IAEItemStack>();
|
||||
this.actionSrc = actionSrc;
|
||||
|
||||
this.callback = callback;
|
||||
@@ -129,7 +129,7 @@ public class CraftingJob implements Runnable, ICraftingJob
|
||||
public long times = 0;
|
||||
}
|
||||
|
||||
HashMap<String, twoIntegers> opsAndMultiplier = new HashMap();
|
||||
HashMap<String, twoIntegers> opsAndMultiplier = new HashMap<String, twoIntegers>();
|
||||
|
||||
@Override
|
||||
public void run()
|
||||
|
||||
@@ -30,7 +30,7 @@ public class CraftingTreeNode
|
||||
private IAEItemStack what;
|
||||
|
||||
// what are the crafting patterns for this?
|
||||
private ArrayList<CraftingTreeProcess> nodes = new ArrayList();
|
||||
private ArrayList<CraftingTreeProcess> nodes = new ArrayList<CraftingTreeProcess>();
|
||||
|
||||
boolean canEmit = false;
|
||||
boolean cannotUse = false;
|
||||
@@ -95,7 +95,7 @@ public class CraftingTreeNode
|
||||
{
|
||||
job.handlePausing();
|
||||
|
||||
List<IAEItemStack> thingsUsed = new LinkedList();
|
||||
List<IAEItemStack> thingsUsed = new LinkedList<IAEItemStack>();
|
||||
|
||||
what.setStackSize( l );
|
||||
if ( slot >= 0 && parent != null && parent.details.isCraftable() )
|
||||
|
||||
@@ -36,7 +36,7 @@ public class CraftingTreeProcess
|
||||
private long bytes = 0;
|
||||
final private int depth;
|
||||
|
||||
Map<CraftingTreeNode, Long> nodes = new HashMap();
|
||||
Map<CraftingTreeNode, Long> nodes = new HashMap<CraftingTreeNode, Long>();
|
||||
public boolean possible = true;
|
||||
|
||||
public CraftingTreeProcess(ICraftingGrid cc, CraftingJob job, ICraftingPatternDetails details, CraftingTreeNode craftingTreeNode, int depth, World world) {
|
||||
|
||||
@@ -50,7 +50,7 @@ public class CraftingWatcher implements ICraftingWatcher
|
||||
|
||||
CraftingGridCache gsc;
|
||||
ICraftingWatcherHost myObject;
|
||||
HashSet<IAEStack> myInterests = new HashSet();
|
||||
HashSet<IAEStack> myInterests = new HashSet<IAEStack>();
|
||||
|
||||
public CraftingWatcher(CraftingGridCache cache, ICraftingWatcherHost host) {
|
||||
gsc = cache;
|
||||
|
||||
Reference in New Issue
Block a user