Skip PDNameTreeNodes if the names are null or empty

This commit is contained in:
michel
2025-06-24 17:17:56 +02:00
parent 18173b8bc6
commit 83cf37243a

View File

@@ -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);
}
}