From 6029afb72d6dfaf42b4b655b5a32dadaa81db3a1 Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Fri, 9 Sep 2011 03:35:11 +0000 Subject: [PATCH] Use MiniGson's list adapters --- gson/src/main/java/com/google/gson/Gson.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gson/src/main/java/com/google/gson/Gson.java b/gson/src/main/java/com/google/gson/Gson.java index 33d07831..467fb7b7 100644 --- a/gson/src/main/java/com/google/gson/Gson.java +++ b/gson/src/main/java/com/google/gson/Gson.java @@ -247,10 +247,10 @@ public final class Gson { .typeAdapter(BigInteger.class, new BigIntegerTypeAdapter()) .factory(excludedTypeFactory) .factory(GsonCompatibleMapTypeAdapter.FACTORY) - .factory(new GsonToMiniGsonTypeAdapter(serializers, deserializers, serializeNulls)) .factory(CollectionTypeAdapter.FACTORY) .factory(ArrayTypeAdapter.FACTORY) .factory(ObjectTypeAdapter.FACTORY) + .factory(new GsonToMiniGsonTypeAdapter(serializers, deserializers, serializeNulls)) .factory(reflectiveTypeAdapterFactory); this.miniGson = builder.build();