diff --git a/README.md b/README.md index 47956ff4..58018547 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Java解析、生成Excel比较有名的框架有Apache poi、jxl。但他们都 com.alibaba easyexcel - 3.1.1 + 3.1.2 ``` diff --git a/easyexcel-core/src/main/java/com/alibaba/excel/util/FileUtils.java b/easyexcel-core/src/main/java/com/alibaba/excel/util/FileUtils.java index 41a4be0e..881c1437 100644 --- a/easyexcel-core/src/main/java/com/alibaba/excel/util/FileUtils.java +++ b/easyexcel-core/src/main/java/com/alibaba/excel/util/FileUtils.java @@ -62,7 +62,6 @@ public class FileUtils { // Initialize the cache directory File cacheFile = new File(cachePath); createDirectory(cacheFile); - cacheFile.deleteOnExit(); } /** @@ -160,7 +159,6 @@ public class FileUtils { File poiFilesPathFile = new File(poiFilesPath); createDirectory(poiFilesPathFile); TempFile.setTempFileCreationStrategy(new DefaultTempFileCreationStrategy(poiFilesPathFile)); - poiFilesPathFile.deleteOnExit(); } public static File createCacheTmpFile() { diff --git a/pom.xml b/pom.xml index d8676d5c..319a85e0 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ - 3.1.1 + 3.1.2 UTF-8 1.8 true diff --git a/update.md b/update.md index 6944a0ee..b326ca07 100644 --- a/update.md +++ b/update.md @@ -1,3 +1,6 @@ +# 3.1.2 +* 修复长时间运行会产生大对象的bug [Issue #2725](https://github.com/alibaba/easyexcel/issues/2725) + # 3.1.1 * 修复部分xlsx无法读取超链接的bug