From de713614afe10a16a98858c01e89659356bc4f5e Mon Sep 17 00:00:00 2001 From: Inderjeet Singh Date: Thu, 18 Dec 2008 18:59:30 +0000 Subject: [PATCH] incorporated feedback from code review of r295 --- .../com/google/gson/functional/CustomTypeAdaptersTest.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gson/src/test/java/com/google/gson/functional/CustomTypeAdaptersTest.java b/gson/src/test/java/com/google/gson/functional/CustomTypeAdaptersTest.java index 8d754a8d..63b0a101 100644 --- a/gson/src/test/java/com/google/gson/functional/CustomTypeAdaptersTest.java +++ b/gson/src/test/java/com/google/gson/functional/CustomTypeAdaptersTest.java @@ -286,11 +286,6 @@ public class CustomTypeAdaptersTest extends TestCase { return data; } }); - gsonBuilder.registerTypeAdapter(byte[].class, new InstanceCreator() { - public byte[] createInstance(Type type) { - return new byte[0]; - } - }); Gson gson = gsonBuilder.create(); String json = "'0123456789'"; byte[] actual = gson.fromJson(json, byte[].class);