Browse Source

修复CSV不关闭流的bug [Issue #2309]

pull/2317/head
Jiaju Zhuang 3 years ago
parent
commit
18e295f091
  1. 2
      easyexcel-core/src/main/java/com/alibaba/excel/analysis/ExcelAnalyserImpl.java

2
easyexcel-core/src/main/java/com/alibaba/excel/analysis/ExcelAnalyserImpl.java

@ -173,7 +173,7 @@ public class ExcelAnalyserImpl implements ExcelAnalyser {
throwable = t; throwable = t;
} }
// close csv // close csv.
// https://github.com/alibaba/easyexcel/issues/2309 // https://github.com/alibaba/easyexcel/issues/2309
try { try {
if ((readWorkbookHolder instanceof CsvReadWorkbookHolder) if ((readWorkbookHolder instanceof CsvReadWorkbookHolder)

Loading…
Cancel
Save