From: fred-boy Date: Thu, 26 Sep 2019 17:35:05 +0000 (+0700) Subject: Remove explicit type arguments X-Git-Tag: alpha0.4~59 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=b3da6d46426e2c5ba1c02e2883e33c00f9ffe5b6;p=cavedroid.git Remove explicit type arguments --- 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();