From 138f8bfeb39f5a97e5fa7fffa45c07fd37ec841c Mon Sep 17 00:00:00 2001 From: montlikadani Date: Thu, 16 Aug 2018 17:51:22 +0200 Subject: [PATCH] Update FurnaceBrewingHandling.java --- .../gamingmesh/jobs/stuff/FurnaceBrewingHandling.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/stuff/FurnaceBrewingHandling.java b/src/main/java/com/gamingmesh/jobs/stuff/FurnaceBrewingHandling.java index 6fae72af..21838a61 100644 --- a/src/main/java/com/gamingmesh/jobs/stuff/FurnaceBrewingHandling.java +++ b/src/main/java/com/gamingmesh/jobs/stuff/FurnaceBrewingHandling.java @@ -26,8 +26,8 @@ public class FurnaceBrewingHandling { public FurnaceBrewingHandling() { } - static HashMap> furnaceMap = new HashMap>(); - static HashMap> brewingMap = new HashMap>(); + static HashMap> furnaceMap = new HashMap<>(); + static HashMap> brewingMap = new HashMap<>(); public static void load() { YmlMaker f = new YmlMaker(Jobs.getInstance(), "furnaceBrewingStands.yml"); @@ -94,7 +94,7 @@ public class FurnaceBrewingHandling { if (uuid == null) continue; - List blist = new ArrayList(); + List blist = new ArrayList<>(); for (String oneL : ls) { blockLoc bl = new blockLoc(oneL); Block block = bl.getBlock(); @@ -284,7 +284,7 @@ public class FurnaceBrewingHandling { List ls = furnaceMap.get(player.getUniqueId()); if (ls == null) - ls = new ArrayList(); + ls = new ArrayList<>(); ls.add(new blockLoc(block.getLocation())); furnaceMap.put(player.getUniqueId(), ls); @@ -329,7 +329,7 @@ public class FurnaceBrewingHandling { List ls = brewingMap.get(player.getUniqueId()); if (ls == null) - ls = new ArrayList(); + ls = new ArrayList<>(); ls.add(new blockLoc(block.getLocation())); brewingMap.put(player.getUniqueId(), ls);