removed unneeded null check.

This commit is contained in:
Inderjeet Singh 2016-02-25 19:37:07 -08:00
parent 79a00cd906
commit 1fa43821e8

View File

@ -85,9 +85,6 @@ public class JsonAdapterNullSafeTest extends TestCase {
}
private JsonElement parseString(JsonParser parser, String json, String prevJson)
throws IOException { // called recursively
if (json == null || json.trim().isEmpty()) {
return null;
}
JsonElement root = parser.parse(json);
if (root instanceof JsonPrimitive) {
prevJson = json;