mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +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
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user