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

@@ -45,7 +45,7 @@ public final class ToolStationGuiHelper {
: stack.getDisplayName();
Item item = stack.getItem();
NBTTagCompound tags = stack.getTagCompound();
Collection<String> categories = new LinkedList<String>();
Collection<String> categories = new LinkedList<>();
// initialize drawing variables
xPos = x;
@@ -73,7 +73,7 @@ public class Pattern extends CraftingItem implements IPattern {
// 2 for full material, 1 for half.
private static Map<Integer, Integer> buildPatternCostMap() {
Map<Integer, Integer> map = new HashMap<Integer, Integer>();
Map<Integer, Integer> map = new HashMap<>();
map.put(0, 2);
map.put(1, 1);