From ea87e58455873b410fb4de565a8dc661d5cbafe3 Mon Sep 17 00:00:00 2001 From: Zaxar163 Date: Thu, 30 Jan 2020 14:53:21 +0100 Subject: [PATCH] =?UTF-8?q?[ANY]=20=D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BC=D0=BE=D0=B4=D0=B8=D1=84=D0=B8=D0=BA=D0=B0=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B0=20=D0=BF=D0=BE=D0=BB=D1=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/pro/gravit/launchserver/asm/InjectClassAcceptor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/asm/InjectClassAcceptor.java b/LaunchServer/src/main/java/pro/gravit/launchserver/asm/InjectClassAcceptor.java index 93d1ca7a..fcba7a13 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/asm/InjectClassAcceptor.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/asm/InjectClassAcceptor.java @@ -114,9 +114,10 @@ public void visit(final String name, final Object value) { }); } - private static Map, Serializer> serializers = new HashMap<>(); + private static final Map, Serializer> serializers; static { + serializers = new HashMap<>(); serializers.put(List.class, new ListSerializer()); serializers.put(Map.class, new MapSerializer()); serializers.put(byte[].class, new ByteArraySerializer());