From d77b8d43bf4ae31350aaef2e50d9d98da71df8c0 Mon Sep 17 00:00:00 2001 From: Looly Date: Mon, 30 Dec 2019 07:27:00 +0800 Subject: [PATCH] fix comment --- hutool-poi/src/main/java/cn/hutool/poi/excel/ExcelReader.java | 3 --- 1 file changed, 3 deletions(-) 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)); } }