quick fix : Explicit type can be replaced with <>

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
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;