Very minor cleanup.

This commit is contained in:
Joel Leitch 2011-04-04 23:17:43 +00:00
parent 7c42ef3e5d
commit f36c1bc222
2 changed files with 2 additions and 4 deletions

View File

@ -16,7 +16,9 @@
package com.google.gson;
import com.google.gson.DefaultTypeAdapters.DefaultDateTypeAdapter;
import com.google.gson.internal.$Preconditions;
import java.lang.reflect.Type;
import java.sql.Timestamp;
import java.text.DateFormat;
@ -28,8 +30,6 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import com.google.gson.DefaultTypeAdapters.DefaultDateTypeAdapter;
/**
* <p>Use this builder to construct a {@link Gson} instance when you need to set configuration
* options other than the default. For {@link Gson} with default configuration, it is simpler to
@ -368,7 +368,6 @@ public final class GsonBuilder {
return this;
}
/**
* Configures Gson to apply a set of exclusion strategies during deserialization.
* Each of the {@code strategies} will be applied as a disjunction rule.

View File

@ -158,7 +158,6 @@ public class MapTest extends TestCase {
assertTrue(json.contains("\"a\":\"b\""));
}
@SuppressWarnings("unchecked")
public void testParameterizedMapSubclassDeserialization() {
Type type = new TypeToken<MyParameterizedMap<String, Integer>>() {}.getType();
String json = "{\"a\":1,\"b\":2}";