Polish JsonContentHandler.isEmptyCollection()

Closes gh-535
This commit is contained in:
Johnny Lim
2018-07-30 14:07:26 +09:00
committed by Andy Wilkinson
parent 1d52ba86a0
commit 7f86552670

View File

@@ -94,9 +94,6 @@ class JsonContentHandler implements ContentHandler {
return false;
}
Collection<?> collection = (Collection<?>) value;
if (collection.isEmpty()) {
return true;
}
for (Object entry : collection) {
if (!isEmptyCollection(entry)) {
return false;