From d87eed510b9f3e6729d4f50523bde6452a180de7 Mon Sep 17 00:00:00 2001 From: Inderjeet Singh Date: Wed, 24 Nov 2010 23:14:30 +0000 Subject: [PATCH] Fixed compilation problem since we dropped registerTypeHierarchyAdapter method --- gson/src/test/java/com/google/gson/functional/EnumTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gson/src/test/java/com/google/gson/functional/EnumTest.java b/gson/src/test/java/com/google/gson/functional/EnumTest.java index 438ada02..41c4cbc9 100644 --- a/gson/src/test/java/com/google/gson/functional/EnumTest.java +++ b/gson/src/test/java/com/google/gson/functional/EnumTest.java @@ -125,7 +125,7 @@ public class EnumTest extends TestCase { public void disabled_testEnumSubclassWithRegisteredTypeAdapter() { gson = new GsonBuilder() - .registerTypeHierarchyAdapter(Roshambo.class, new MyEnumTypeAdapter()) +// .registerTypeHierarchyAdapter(Roshambo.class, new MyEnumTypeAdapter()) .create(); assertRoshambo(); }