Remove unused variable in JSONUtilities (#2464)

This commit is contained in:
Thad Guidry 2020-03-23 14:38:03 -05:00 committed by GitHub
parent ad398076a7
commit 63bef81980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,6 @@ public class JSONUtilities {
} }
static public ArrayNode getArray(ObjectNode obj, String key) { static public ArrayNode getArray(ObjectNode obj, String key) {
JsonNode v = obj.get(key);
if( obj.has(key) && obj.get(key) instanceof ArrayNode) { if( obj.has(key) && obj.get(key) instanceof ArrayNode) {
return (ArrayNode) obj.get(key); return (ArrayNode) obj.get(key);
} }