diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2016-06-24 23:31:12 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2016-06-24 23:31:12 +0000 |
commit | e72ad899b3ba6bac3b771bd8388d6cde3bc6b50e (patch) | |
tree | 10fee9859bbbc2c4c867997978931319489e6d49 /src/testcases/org/apache/poi/ss/format | |
parent | f0a56b51d3610b64eb3cf93cae9c6ff220cd434d (diff) | |
download | poi-e72ad899b3ba6bac3b771bd8388d6cde3bc6b50e.tar.gz poi-e72ad899b3ba6bac3b771bd8388d6cde3bc6b50e.zip |
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
Diffstat (limited to 'src/testcases/org/apache/poi/ss/format')
-rw-r--r-- | src/testcases/org/apache/poi/ss/format/CellFormatTestBase.java | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |