Polish JSON warnings / javadoc

Issue gh-3736
This commit is contained in:
Rob Winch
2016-09-01 14:50:42 -05:00
parent 6d2003722e
commit 6f2b24a62b
9 changed files with 20 additions and 23 deletions

View File

@@ -75,6 +75,7 @@ public class SavedCookieMixinTests extends AbstractMixinTests {
}
@Test
@SuppressWarnings("unchecked")
public void deserializeSavedCookieWithList() throws IOException, JSONException {
String expectedJson = String.format("[\"java.util.ArrayList\", [%s]]", expectedSavedCookieJson);
List<SavedCookie> savedCookies = (List<SavedCookie>)buildObjectMapper().readValue(expectedJson, Object.class);