Bugfix
This commit is contained in:
parent
9f2feb1195
commit
2511a1748a
@ -54,7 +54,7 @@ public abstract class MoshiPolymorphic<OBJ> {
|
|||||||
JsonAdapter<OBJ> adapter = new PolymorphicAdapter<>(name);
|
JsonAdapter<OBJ> adapter = new PolymorphicAdapter<>(name);
|
||||||
abstractClassesSerializers.put(declaredClass, adapter);
|
abstractClassesSerializers.put(declaredClass, adapter);
|
||||||
customAdapters.put(name, adapter);
|
customAdapters.put(name, adapter);
|
||||||
abstractMoshiBuilder.addLast(declaredClass, adapter);
|
abstractMoshiBuilder.add(declaredClass, adapter);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Class<?> declaredClass : concreteClasses) {
|
for (Class<?> declaredClass : concreteClasses) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user