aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2020-12-09 16:59:51 +0000
committerPJ Fanning <fanningpj@apache.org>2020-12-09 16:59:51 +0000
commita42127e15b941e250920d3c6b81e22fb89390ba1 (patch)
tree2cb350090ecba62a7fbd9165b8a00f551792a3cf /src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java
parentbc1569e7866fe075424ce5f92a6e28783c595edc (diff)
downloadpoi-a42127e15b941e250920d3c6b81e22fb89390ba1.tar.gz
poi-a42127e15b941e250920d3c6b81e22fb89390ba1.zip
remove more deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884259 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java')
-rw-r--r--src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java b/src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java
index e2032de2df..43d33d3d3f 100644
--- a/src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java
+++ b/src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java
@@ -312,7 +312,7 @@ public abstract class BaseTestCell {
cs = c.getCellStyle();
assertNotNull("Formula Cell Style", cs);
- assertEquals("Font Index Matches", f.getIndexAsInt(), cs.getFontIndexAsInt());
+ assertEquals("Font Index Matches", f.getIndexAsInt(), cs.getFontIndex());
assertEquals("Top Border", BorderStyle.THIN, cs.getBorderTop());
assertEquals("Left Border", BorderStyle.THIN, cs.getBorderLeft());
assertEquals("Right Border", BorderStyle.THIN, cs.getBorderRight());
@@ -731,7 +731,7 @@ public abstract class BaseTestCell {
assertTrue(style.getLocked());
assertFalse(style.getHidden());
assertEquals(0, style.getIndention());
- assertEquals(0, style.getFontIndexAsInt());
+ assertEquals(0, style.getFontIndex());
assertEquals(HorizontalAlignment.GENERAL, style.getAlignment());
assertEquals(0, style.getDataFormat());
assertFalse(style.getWrapText());