From 9e10972a2f6f9d94a91332217c37e1b6125c3168 Mon Sep 17 00:00:00 2001 From: montlikadani Date: Thu, 16 Aug 2018 18:07:15 +0200 Subject: [PATCH] Update BufferedEconomy.java --- .../java/com/gamingmesh/jobs/economy/BufferedEconomy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;