Polish JsonContentHandler.isEmptyCollection()
Closes gh-535
This commit is contained in:
committed by
Andy Wilkinson
parent
1d52ba86a0
commit
7f86552670
@@ -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