aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2020-01-02 15:20:04 +0000
committerPJ Fanning <fanningpj@apache.org>2020-01-02 15:20:04 +0000
commit781ef0c75493377fd6583096c941c4e56b2222f6 (patch)
treea28befd234b7d75352f994829a66ea43582a05a3
parent5ec079072a101f21bbf6af72c7755f5f59413969 (diff)
downloadpoi-781ef0c75493377fd6583096c941c4e56b2222f6.tar.gz
poi-781ef0c75493377fd6583096c941c4e56b2222f6.zip
[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
-rw-r--r--src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java2
1 files changed, 1 insertions, 1 deletions
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;