From 615652cf9fff22c2ca493ca2dc300ae67a269178 Mon Sep 17 00:00:00 2001 From: Looly Date: Tue, 3 Mar 2020 18:08:59 +0800 Subject: [PATCH] fix code --- hutool-poi/src/main/java/cn/hutool/poi/excel/cell/CellUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hutool-poi/src/main/java/cn/hutool/poi/excel/cell/CellUtil.java b/hutool-poi/src/main/java/cn/hutool/poi/excel/cell/CellUtil.java index b369e5a1e..34b1af790 100644 --- a/hutool-poi/src/main/java/cn/hutool/poi/excel/cell/CellUtil.java +++ b/hutool-poi/src/main/java/cn/hutool/poi/excel/cell/CellUtil.java @@ -106,7 +106,7 @@ public class CellUtil { if(CellType.BLANK == cellType){ // 空白单元格可能为合并单元格 cell = getMergedRegionCell(cell); - cellType = cell.getCellType(); + cellType = cell.getCellTypeEnum(); } Object value;