Skip PDNameTreeNodes if the names are null or empty
This commit is contained in:
@@ -161,6 +161,9 @@ public class ZUGFeRDInvoiceImporter {
|
|||||||
}
|
}
|
||||||
for (final PDNameTreeNode<PDComplexFileSpecification> node : kids) {
|
for (final PDNameTreeNode<PDComplexFileSpecification> node : kids) {
|
||||||
final Map<String, PDComplexFileSpecification> namesL = node.getNames();
|
final Map<String, PDComplexFileSpecification> namesL = node.getNames();
|
||||||
|
if (namesL == null || namesL.isEmpty()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
extractFiles(namesL);
|
extractFiles(namesL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user