diff options
author | Vladislav Galas <gallon@apache.org> | 2019-01-26 19:41:25 +0000 |
---|---|---|
committer | Vladislav Galas <gallon@apache.org> | 2019-01-26 19:41:25 +0000 |
commit | 39d963aa3335c858ef77b4ad0eef27bdd092c88c (patch) | |
tree | 5b20b28df6ad1b70a4843bab3fb971e17d1b6e14 /src/testcases/org/apache/poi/ss/formula/functions | |
parent | 19bf8b23d5dacee226c70cece3a315e5f1e47616 (diff) | |
download | poi-39d963aa3335c858ef77b4ad0eef27bdd092c88c.tar.gz poi-39d963aa3335c858ef77b4ad0eef27bdd092c88c.zip |
made call Cell.setCellType(CellType.FORMULA) illegall. Deprecated Cell.setCellType(). Purged all redundant calls from project.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852246 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/ss/formula/functions')
3 files changed, 0 insertions, 3 deletions
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestCalendarFieldFunction.java b/src/testcases/org/apache/poi/ss/formula/functions/TestCalendarFieldFunction.java index e9af8c12ee..9a7f194a93 100644 --- a/src/testcases/org/apache/poi/ss/formula/functions/TestCalendarFieldFunction.java +++ b/src/testcases/org/apache/poi/ss/formula/functions/TestCalendarFieldFunction.java @@ -40,7 +40,6 @@ public final class TestCalendarFieldFunction extends TestCase { HSSFWorkbook wb = new HSSFWorkbook(); HSSFSheet sheet = wb.createSheet("new sheet"); cell11 = sheet.createRow(0).createCell(0); - cell11.setCellType(CellType.FORMULA); evaluator = new HSSFFormulaEvaluator(wb); } diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestDate.java b/src/testcases/org/apache/poi/ss/formula/functions/TestDate.java index b9f5224c8d..131df38d6d 100644 --- a/src/testcases/org/apache/poi/ss/formula/functions/TestDate.java +++ b/src/testcases/org/apache/poi/ss/formula/functions/TestDate.java @@ -40,7 +40,6 @@ public final class TestDate extends TestCase { HSSFWorkbook wb = new HSSFWorkbook(); HSSFSheet sheet = wb.createSheet("new sheet"); cell11 = sheet.createRow(0).createCell(0); - cell11.setCellType(CellType.FORMULA); evaluator = new HSSFFormulaEvaluator(wb); } diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestFixed.java b/src/testcases/org/apache/poi/ss/formula/functions/TestFixed.java index e14ea3c45b..6cc50e742b 100644 --- a/src/testcases/org/apache/poi/ss/formula/functions/TestFixed.java +++ b/src/testcases/org/apache/poi/ss/formula/functions/TestFixed.java @@ -48,7 +48,6 @@ public final class TestFixed { try { HSSFSheet sheet = wb.createSheet("new sheet"); cell11 = sheet.createRow(0).createCell(0); - cell11.setCellType(CellType.FORMULA); evaluator = new HSSFFormulaEvaluator(wb); } finally { wb.close(); |