From d1cee8443f82504893bbf0d79f0b07db2c62dcf7 Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Tue, 22 Nov 2011 07:47:06 +0000 Subject: [PATCH] Whoops! The TreeTypeAdapter shouldn't be public API. --- gson/src/main/java/com/google/gson/TreeTypeAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gson/src/main/java/com/google/gson/TreeTypeAdapter.java b/gson/src/main/java/com/google/gson/TreeTypeAdapter.java index ea936037..60fdee8d 100644 --- a/gson/src/main/java/com/google/gson/TreeTypeAdapter.java +++ b/gson/src/main/java/com/google/gson/TreeTypeAdapter.java @@ -30,7 +30,7 @@ import java.lang.reflect.Type; * tree adapter may be serialization-only or deserialization-only, this class * has a facility to lookup a delegate type adapter on demand. */ -public final class TreeTypeAdapter extends TypeAdapter { +final class TreeTypeAdapter extends TypeAdapter { private final JsonSerializer serializer; private final JsonDeserializer deserializer; private final Gson gson;