Browse Source

fix comment

Looly 6 years ago
parent
commit
d77b8d43bf
1 changed files with 0 additions and 3 deletions
  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));
 				}
 			}