From b3da6d46426e2c5ba1c02e2883e33c00f9ffe5b6 Mon Sep 17 00:00:00 2001 From: fred-boy Date: Fri, 27 Sep 2019 00:35:05 +0700 Subject: [PATCH] Remove explicit type arguments --- core/src/ru/deadsoftware/cavedroid/game/GameItems.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameItems.java b/core/src/ru/deadsoftware/cavedroid/game/GameItems.java index 1bbb03c..bd0e5bb 100644 --- a/core/src/ru/deadsoftware/cavedroid/game/GameItems.java +++ b/core/src/ru/deadsoftware/cavedroid/game/GameItems.java @@ -13,11 +13,11 @@ import java.util.HashMap; public class GameItems { - private static HashMap blocksIds = new HashMap(); - private static HashMap itemsIds = new HashMap(); + private static HashMap blocksIds = new HashMap<>(); + private static HashMap itemsIds = new HashMap<>(); - private static ArrayMap blocks = new ArrayMap(); - private static ArrayMap items = new ArrayMap(); + private static ArrayMap blocks = new ArrayMap<>(); + private static ArrayMap items = new ArrayMap<>(); public static boolean isFluid(int id) { return getBlock(id).isFluid(); -- 2.29.2