Merge pull request #535 from Johnny Lim

* gh-535:
  Polish JsonContentHandler.isEmptyCollection()
This commit is contained in:
Andy Wilkinson
2018-08-01 14:14:53 +01:00

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;