Auto remove un needed things in the code

This commit is contained in:
modmuss50 2016-04-03 14:34:39 +01:00
parent 7e7fcf2ad9
commit 510f969c94
105 changed files with 141 additions and 348 deletions

View file

@ -175,7 +175,7 @@ public class CraftingInfoPage extends TitledPage
{
if (formattedDescription == null)
{
formattedDescription = new ArrayList<String>();
formattedDescription = new ArrayList<>();
if (Strings.isNullOrEmpty(rawDescription))
{
@ -265,7 +265,7 @@ public class CraftingInfoPage extends TitledPage
private ItemStack[] getFirstRecipeForItem(ItemStack resultingItem)
{
ItemStack[] recipeItems = new ItemStack[9];
for (IRecipe recipe : (List<IRecipe>) CraftingManager.getInstance().getRecipeList())
for (IRecipe recipe : CraftingManager.getInstance().getRecipeList())
{
if (recipe == null)
continue;