mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix bug
This commit is contained in:
@@ -213,5 +213,4 @@ public class ExcelReadTest {
|
||||
final ExcelReader reader = ExcelUtil.getReader("merge_test.xlsx");
|
||||
reader.read((cell, value)-> Console.log("{}, {} {}", cell.getRowIndex(), cell.getColumnIndex(), value));
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -115,10 +115,8 @@ public class ExcelSaxReadTest {
|
||||
public void readBlankTest(){
|
||||
File file = new File("D:/test/b.xlsx");
|
||||
|
||||
ExcelUtil.readBySax(file, 0, (sheetIndex, rowIndex, rowList) -> {
|
||||
rowList.forEach(System.out::println);
|
||||
});
|
||||
ExcelUtil.readBySax(file, 0, (sheetIndex, rowIndex, rowList) -> rowList.forEach(Console::log));
|
||||
|
||||
ExcelUtil.getReader(file).read().forEach(System.out::println);
|
||||
ExcelUtil.getReader(file).read().forEach(Console::log);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user