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

@@ -102,9 +102,9 @@ public final class IMCHandler {
PatternBuilder.instance.registerFullMaterial(
item, value, TConstructRegistry.getMaterial(matID).materialName, shard, rod, matID);
List<Item> addItems = new LinkedList<Item>();
List<Integer> addMetas = new LinkedList<Integer>();
List<ItemStack> addOUtputs = new LinkedList<ItemStack>();
List<Item> addItems = new LinkedList<>();
List<Integer> addMetas = new LinkedList<>();
List<ItemStack> addOUtputs = new LinkedList<>();
// add mappings for everything that has stone tool mappings
for (Map.Entry<List, ItemStack> mappingEntry : TConstructRegistry.patternPartMapping.entrySet()) {
@@ -161,7 +161,7 @@ public final class IMCHandler {
}
// we add the toolpart to all smeltery recipies that use iron and create a toolpart
List<CastingRecipe> newRecipies = new LinkedList<CastingRecipe>();
List<CastingRecipe> newRecipies = new LinkedList<>();
for (CastingRecipe recipe : TConstructRegistry.getTableCasting().getCastingRecipes()) {
if (recipe.castingMetal.getFluid() != TinkerSmeltery.moltenIronFluid) continue;
if (recipe.cast == null || !(recipe.cast.getItem() instanceof IPattern)) continue;