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) {
|
||||
final Map<String, PDComplexFileSpecification> namesL = node.getNames();
|
||||
if (namesL == null || namesL.isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
extractFiles(namesL);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user