diff --git a/src/main/java/com/gamingmesh/jobs/economy/BufferedEconomy.java b/src/main/java/com/gamingmesh/jobs/economy/BufferedEconomy.java index 930a325f..7948c7ce 100644 --- a/src/main/java/com/gamingmesh/jobs/economy/BufferedEconomy.java +++ b/src/main/java/com/gamingmesh/jobs/economy/BufferedEconomy.java @@ -36,8 +36,8 @@ import com.gamingmesh.jobs.tasks.BufferedPaymentTask; public class BufferedEconomy { private Jobs plugin; private Economy economy; - private LinkedBlockingQueue payments = new LinkedBlockingQueue(); - private final Map paymentCache = Collections.synchronizedMap(new HashMap()); + private LinkedBlockingQueue payments = new LinkedBlockingQueue<>(); + private final Map paymentCache = Collections.synchronizedMap(new HashMap<>()); private OfflinePlayer ServerAccount = null; private OfflinePlayer ServerTaxesAccount = null;