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 +}