Merge pull request #535 from Johnny Lim
* gh-535: Polish JsonContentHandler.isEmptyCollection()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user