mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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:
parent
661c0b66bc
commit
30280a9e5a
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user