fix integration test error

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876741 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2020-04-20 08:27:36 +00:00
parent 661c0b66bc
commit 30280a9e5a
1 changed files with 3 additions and 1 deletions

View File

@ -169,7 +169,9 @@ public final class CopyCompare {
de = (de.hasEntry(subDir)) ? (DirectoryEntry)de.getEntry(subDir) : de.createDirectory(subDir);
}
de.createDocument(event.getName(), is);
if (event.getName() != null) {
de.createDocument(event.getName(), is);
}
}
} catch (HPSFException | IOException ex) {