Merge pull request #874 from MichelKlein89/skip-nodes-without-names

Skip PDNameTreeNodes if the names are null or empty
This commit is contained in:
Jochen Staerk
2025-06-26 10:59:13 +02:00
committed by GitHub

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