Browse Source

修复合并策略 空指针的问题

developing v2.1.3
Jiaju Zhuang 5 years ago
parent
commit
827153fda3
  1. 3
      src/main/java/com/alibaba/excel/util/FileUtils.java

3
src/main/java/com/alibaba/excel/util/FileUtils.java

@ -144,7 +144,8 @@ public class FileUtils {
}
public static File createTmpFile(String fileName) {
return createDirectory(new File(tempFilePrefix + fileName));
File directory = createDirectory(new File(tempFilePrefix));
return new File(directory, fileName);
}
/**

Loading…
Cancel
Save