[ANY] Ошибка модификатора поля.

This commit is contained in:
Zaxar163 2020-01-30 14:53:21 +01:00
parent 7b1ddf5577
commit ea87e58455
No known key found for this signature in database
GPG key ID: 1FE4F2E1F053831B

View file

@ -114,9 +114,10 @@ public void visit(final String name, final Object value) {
});
}
private static Map<Class<?>, Serializer<?>> serializers = new HashMap<>();
private static final Map<Class<?>, Serializer<?>> serializers;
static {
serializers = new HashMap<>();
serializers.put(List.class, new ListSerializer());
serializers.put(Map.class, new MapSerializer());
serializers.put(byte[].class, new ByteArraySerializer());