This commit is contained in:
Looly
2022-09-29 18:20:19 +08:00
parent e4d7d6b7d4
commit ce11e7147d
23 changed files with 135 additions and 189 deletions

View File

@@ -2,10 +2,11 @@ package cn.hutool.poi.excel;
import cn.hutool.core.io.resource.ResourceUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.core.lang.func.SerBiConsumer;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.util.ObjUtil;
import cn.hutool.poi.excel.cell.CellHandler;
import lombok.Data;
import org.apache.poi.ss.usermodel.Cell;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
@@ -231,7 +232,7 @@ public class ExcelReadTest {
@Ignore
public void readNullRowTest(){
final ExcelReader reader = ExcelUtil.getReader("d:/test/1.-.xls");
reader.read((CellHandler) Console::log);
reader.read((SerBiConsumer<Cell, Object>) Console::log);
}
@Test