提交 3b0621e3 authored 作者: Thomas Mueller's avatar Thomas Mueller

Temporary files were not created in the temporary directory of the system, but…

Temporary files were not created in the temporary directory of the system, but in the current working directory.
上级 52d3131d
......@@ -178,7 +178,7 @@ public class FileSystemDisk extends FileSystem {
String prefix = new File(name).getName();
File dir;
if (inTempDir) {
dir = null;
dir = new File(System.getProperty("java.io.tmpdir"));
} else {
dir = new File(name).getAbsoluteFile().getParentFile();
IOUtils.mkdirs(dir);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论