浏览代码

fix comment

Looly 6 年之前
父节点
当前提交
d77b8d43bf
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      hutool-poi/src/main/java/cn/hutool/poi/excel/ExcelReader.java

+ 0 - 3
hutool-poi/src/main/java/cn/hutool/poi/excel/ExcelReader.java

@@ -300,9 +300,6 @@ public class ExcelReader extends ExcelBase<ExcelReader> {
 				// 跳过标题行
 				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));
 				}
 			}