diff --git a/gson/src/main/java/com/google/gson/GsonBuilder.java b/gson/src/main/java/com/google/gson/GsonBuilder.java index 6b1f91c6..806f8d3f 100644 --- a/gson/src/main/java/com/google/gson/GsonBuilder.java +++ b/gson/src/main/java/com/google/gson/GsonBuilder.java @@ -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; - /** *
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.
diff --git a/gson/src/test/java/com/google/gson/functional/MapTest.java b/gson/src/test/java/com/google/gson/functional/MapTest.java
index e46baaf4..ca77d0b3 100755
--- a/gson/src/test/java/com/google/gson/functional/MapTest.java
+++ b/gson/src/test/java/com/google/gson/functional/MapTest.java
@@ -158,7 +158,6 @@ public class MapTest extends TestCase {
assertTrue(json.contains("\"a\":\"b\""));
}
- @SuppressWarnings("unchecked")
public void testParameterizedMapSubclassDeserialization() {
Type type = new TypeToken