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

@@ -29,8 +29,8 @@ public class ModifierPage extends BookPage {
icons = MantleClientRegistry.getRecipeIcons(recipe);
if (type.equals("travelmulti")) {
List<ItemStack[]> stacks = new LinkedList<ItemStack[]>();
List<String> tools = new LinkedList<String>();
List<ItemStack[]> stacks = new LinkedList<>();
List<String> tools = new LinkedList<>();
String[] suffixes = new String[] {"goggles", "vest", "wings", "boots", "glove", "belt"};
for (String suffix : suffixes) {
ItemStack[] icons2 =
@@ -13,7 +13,7 @@ import net.minecraft.network.play.client.C0DPacketCloseWindow;
import net.minecraftforge.client.event.GuiScreenEvent;
public class TabRegistry {
private static ArrayList<AbstractTab> tabList = new ArrayList<AbstractTab>();
private static ArrayList<AbstractTab> tabList = new ArrayList<>();
public static void registerTab(AbstractTab tab) {
tabList.add(tab);