mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
quick fix : Raw use of parameterized class
This commit is contained in:
1 parent
c370ce93d5
commit
36f63a7690
12 files changed
+42
-42
No files matched your search
@@ -18,9 +18,9 @@ public class CastingChannelLogic extends TileEntity implements IFluidHandler {
|
||||
public static final int fillMax = TConstruct.ingotLiquidValue * 3;
|
||||
public static final int outputMax = TConstruct.ingotLiquidValue;
|
||||
FluidTank internalTank = new FluidTank(fillMax);
|
||||
HashMap<ForgeDirection, FluidTank> subTanks = new HashMap();
|
||||
HashMap<ForgeDirection, FluidTank> subTanks = new HashMap<>();
|
||||
public ForgeDirection lastProvider;
|
||||
public ArrayList<ForgeDirection> validOutputs = new ArrayList();
|
||||
public ArrayList<ForgeDirection> validOutputs = new ArrayList<>();
|
||||
public int ticks = 0;
|
||||
public int recentlyFilledDelay;
|
||||
|
||||
@@ -292,7 +292,7 @@ public class CastingChannelLogic extends TileEntity implements IFluidHandler {
|
||||
}
|
||||
|
||||
public HashMap<ForgeDirection, TileEntity> getOutputs() {
|
||||
HashMap<ForgeDirection, TileEntity> map = new HashMap();
|
||||
HashMap<ForgeDirection, TileEntity> map = new HashMap<>();
|
||||
for (ForgeDirection fd : this.validOutputs) {
|
||||
int tX = this.xCoord + fd.offsetX;
|
||||
int tY = this.yCoord + fd.offsetY;
|
||||
@@ -390,7 +390,7 @@ public class CastingChannelLogic extends TileEntity implements IFluidHandler {
|
||||
|
||||
int[] validFDs = tags.getIntArray("validOutputs");
|
||||
if (validFDs != null) {
|
||||
validOutputs = new ArrayList();
|
||||
validOutputs = new ArrayList<>();
|
||||
for (int i : validFDs) validOutputs.add(convertIntToFD(i));
|
||||
}
|
||||
/* UNUSED
|
||||
|
||||
Reference in new issue
Block a user