From: PJ Fanning Date: Thu, 2 Jan 2020 15:20:04 +0000 (+0000) Subject: [bug-64044] setCellValue(LocalDate) does not support nulls properly X-Git-Tag: REL_4_1_2~55 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=781ef0c75493377fd6583096c941c4e56b2222f6;p=poi.git [bug-64044] setCellValue(LocalDate) does not support nulls properly git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872247 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java b/src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java index 204ec9504a..0d928f0809 100644 --- a/src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java +++ b/src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java @@ -135,7 +135,7 @@ public abstract class BaseTestCell { String strNull = null; cell.setCellValue(strNull); - assertNull(cell.getRichStringCellValue()); + assertEquals("", cell.getStringCellValue()); assertEquals(CellType.BLANK, cell.getCellType()); LocalDate ldNull = null;