This commit is contained in:
DBotThePony 2023-02-05 16:16:28 +07:00
parent d44fd8d6c1
commit 39dd94dc6c
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -408,7 +408,7 @@ class FactoryAdapter<T : Any> private constructor(
return FactoryAdapter(
bound = clazz,
types = types.stream().map { it.resolve(gson) }.collect(ImmutableList.toImmutableList()),
types = ImmutableList.copyOf(types.map { it.resolve(gson) }),
asJsonArray = asList,
storesJson = storesJson,
logMisses = logMisses,