提交 b1e12aa4 编写于 作者: Z zhouqinglai

[fix] 解决可能存在的空指针问题

上级 f958af6f
......@@ -429,7 +429,9 @@ public class WriteContextImpl implements WriteContext {
OutputStream outputStream = encryptor.getDataStream(fileSystem);
opcPackage.save(outputStream);
} finally {
opcPackage.close();
if (opcPackage != null) {
opcPackage.close();
}
}
return fileSystem;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册