mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Java 7 and 8 cleanup
Diamond operator <> Lambdas and method references
This commit is contained in:
1 parent
3db03edbc9
commit
b72d6efab3
234 files changed
+1614
-2253
No files matched your search
@@ -19,16 +19,16 @@ public final class InvStack
|
||||
public InvStack(TileEntity inv, EnumFacing facing)
|
||||
{
|
||||
tileEntity = inv;
|
||||
itemStacks = new ArrayList<ItemStack>();
|
||||
slotIDs = new ArrayList<Integer>();
|
||||
itemStacks = new ArrayList<>();
|
||||
slotIDs = new ArrayList<>();
|
||||
side = facing;
|
||||
}
|
||||
|
||||
public InvStack(TileEntity inv, int id, ItemStack stack, EnumFacing facing)
|
||||
{
|
||||
tileEntity = inv;
|
||||
itemStacks = new ArrayList<ItemStack>();
|
||||
slotIDs = new ArrayList<Integer>();
|
||||
itemStacks = new ArrayList<>();
|
||||
slotIDs = new ArrayList<>();
|
||||
side = facing;
|
||||
|
||||
appendStack(id, stack);
|
||||
|
||||
Reference in new issue
Block a user