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

@@ -14,11 +14,11 @@ import tconstruct.library.util.IPattern;
public class PatternBuilder {
public static PatternBuilder instance = new PatternBuilder();
// Map items to their parts with a hashmap
public List<ItemKey> materials = new ArrayList<ItemKey>();
public HashMap<String, MaterialSet> materialSets = new HashMap<String, MaterialSet>();
public List<ItemKey> materials = new ArrayList<>();
public HashMap<String, MaterialSet> materialSets = new HashMap<>();
// We could use IRecipe if it wasn't tied to InventoryCrafting
public List<IPattern> toolPatterns = new ArrayList<IPattern>();
public List<IPattern> toolPatterns = new ArrayList<>();
/* Register methods */
public void registerMaterial(ItemStack material, int value, String key) {