From 9f0a9d7be9234015fea05b71ad4e63fbac8b9fbf Mon Sep 17 00:00:00 2001 From: montlikadani Date: Thu, 16 Aug 2018 18:21:07 +0200 Subject: [PATCH] Update Log.java --- src/main/java/com/gamingmesh/jobs/container/Log.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/container/Log.java b/src/main/java/com/gamingmesh/jobs/container/Log.java index dcafd31c..3fa0798c 100644 --- a/src/main/java/com/gamingmesh/jobs/container/Log.java +++ b/src/main/java/com/gamingmesh/jobs/container/Log.java @@ -7,7 +7,7 @@ import com.gamingmesh.jobs.stuff.TimeManage; public final class Log { private String action; private int day; - private HashMap amountMap = new HashMap(); + private HashMap amountMap = new HashMap<>(); public Log(String action) { this.action = action; @@ -60,4 +60,4 @@ public final class Log { return this.amountMap.get(item).get(type); return 0; } -} \ No newline at end of file +}