Update ZUGFeRDImporter.java
RE Uwe Mock's comment on files without attachments
This commit is contained in:
@@ -62,7 +62,9 @@ public class ZUGFeRDImporter {
|
|||||||
etn = names.getEmbeddedFiles();
|
etn = names.getEmbeddedFiles();
|
||||||
Map<String, COSObjectable> efMap = etn.getNames();
|
Map<String, COSObjectable> efMap = etn.getNames();
|
||||||
// String filePath = "/tmp/";
|
// String filePath = "/tmp/";
|
||||||
|
if (efMap==null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
for (String filename : efMap.keySet()) {
|
for (String filename : efMap.keySet()) {
|
||||||
/**
|
/**
|
||||||
* currently (in the release candidate of version 1) only one
|
* currently (in the release candidate of version 1) only one
|
||||||
|
|||||||
Reference in New Issue
Block a user