mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 23:13:07 +00:00
quick fix : Explicit type can be replaced with <>
This commit is contained in:
1 parent
7abe2f5182
commit
60f7add07f
55 files changed
+132
-132
No files matched your search
@@ -990,7 +990,7 @@ public class CartEntity extends Entity implements IInventory, IEntityAdditionalS
|
||||
* break; case 2: items.add(new ItemStack(Block.stoneOvenIdle)); break;
|
||||
* } return items;
|
||||
*/
|
||||
return new ArrayList<ItemStack>();
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,7 +12,7 @@ import tconstruct.world.TinkerWorld;
|
||||
|
||||
public class TVillageTrades implements IVillageTradeHandler {
|
||||
|
||||
private final List<ItemStack> allowedIngredients = new ArrayList<ItemStack>();
|
||||
private final List<ItemStack> allowedIngredients = new ArrayList<>();
|
||||
private final int max = 17;
|
||||
private final int min = 7;
|
||||
|
||||
|
||||
Reference in new issue
Block a user