diff --git a/hutool-poi/src/main/java/cn/hutool/poi/excel/ExcelReader.java b/hutool-poi/src/main/java/cn/hutool/poi/excel/ExcelReader.java index 4fca025ad..97908780f 100644 --- a/hutool-poi/src/main/java/cn/hutool/poi/excel/ExcelReader.java +++ b/hutool-poi/src/main/java/cn/hutool/poi/excel/ExcelReader.java @@ -300,9 +300,6 @@ public class ExcelReader extends ExcelBase { // 跳过标题行 rowList = readRow(sheet.getRow(i)); if (CollUtil.isNotEmpty(rowList) || false == ignoreEmptyRow) { - if (null == rowList) { - rowList = new ArrayList<>(0); - } result.add(IterUtil.toMap(aliasHeader(headerList), rowList, true)); } }