修复当sheetName 不存在时,ExcelUtil.getReader方法不会释放文件问题

This commit is contained in:
Looly
2024-02-03 11:36:24 +08:00
parent 842f89bce3
commit 0e77d348d2
2 changed files with 58 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
package org.dromara.hutool.poi.excel;
import org.junit.jupiter.api.Test;
public class IssueI8ZIQCTest {
@Test
void readTest() {
final ExcelReader reader = ExcelUtil.getReader("d:/test/test3.xlsx", "aaa");
}
}