From e72ad899b3ba6bac3b771bd8388d6cde3bc6b50e Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Fri, 24 Jun 2016 23:31:12 +0000 Subject: deprecated constants pointing to MissingCellPolicy - use enum instead javadocs fixes (jdk8) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750172 13f79535-47bb-0310-9956-ffa450edef68 --- src/testcases/org/apache/poi/ss/format/CellFormatTestBase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/testcases/org/apache/poi/ss/format') diff --git a/src/testcases/org/apache/poi/ss/format/CellFormatTestBase.java b/src/testcases/org/apache/poi/ss/format/CellFormatTestBase.java index 537dafbb3e..d28ac8892c 100644 --- a/src/testcases/org/apache/poi/ss/format/CellFormatTestBase.java +++ b/src/testcases/org/apache/poi/ss/format/CellFormatTestBase.java @@ -41,6 +41,7 @@ import javax.swing.JLabel; import org.apache.poi.ss.ITestDataProvider; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; +import org.apache.poi.ss.usermodel.Row.MissingCellPolicy; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.util.LocaleUtil; @@ -141,7 +142,7 @@ public class CellFormatTestBase { protected void openWorkbook(String workbookName) throws IOException { workbook = _testDataProvider.openSampleWorkbook(workbookName); - workbook.setMissingCellPolicy(Row.CREATE_NULL_AS_BLANK); + workbook.setMissingCellPolicy(MissingCellPolicy.CREATE_NULL_AS_BLANK); testFile = workbookName; } -- cgit v1.2.3