From f39ac8d946aab1451995cf46875395705c8a03a8 Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Mon, 21 Nov 2011 05:09:14 +0000 Subject: [PATCH] Update extras to build after today's Gson/MiniGson refactoring. --- .../google/gson/typeadapters/RuntimeTypeAdapterFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extras/src/main/java/com/google/gson/typeadapters/RuntimeTypeAdapterFactory.java b/extras/src/main/java/com/google/gson/typeadapters/RuntimeTypeAdapterFactory.java index 8c0dcfa9..e703625a 100644 --- a/extras/src/main/java/com/google/gson/typeadapters/RuntimeTypeAdapterFactory.java +++ b/extras/src/main/java/com/google/gson/typeadapters/RuntimeTypeAdapterFactory.java @@ -16,13 +16,13 @@ package com.google.gson.typeadapters; +import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import com.google.gson.JsonPrimitive; +import com.google.gson.TypeAdapter; import com.google.gson.internal.Streams; -import com.google.gson.internal.bind.MiniGson; -import com.google.gson.internal.bind.TypeAdapter; import com.google.gson.reflect.TypeToken; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; @@ -179,7 +179,7 @@ public final class RuntimeTypeAdapterFactory implements TypeAdapter.Factory { return registerSubtype(type, type.getSimpleName()); } - public TypeAdapter create(MiniGson context, TypeToken type) { + public TypeAdapter create(Gson context, TypeToken type) { if (type.getRawType() != baseType) { return null; }