diff options
author | PJ Fanning <fanningpj@apache.org> | 2017-09-18 13:58:55 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2017-09-18 13:58:55 +0000 |
commit | 6382370552a24787c4cdc1a74e3824aca3fcf72f (patch) | |
tree | ce476b9349dc9720254cb1fe096867950dee9d08 /src/examples | |
parent | e3ddb77bc18cd01735d3ce98afecf6ec5ab984dd (diff) | |
download | poi-6382370552a24787c4cdc1a74e3824aca3fcf72f.tar.gz poi-6382370552a24787c4cdc1a74e3824aca3fcf72f.zip |
update getCellType to return CellType enum instead of int
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808718 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/examples')
-rw-r--r-- | src/examples/src/org/apache/poi/hssf/usermodel/examples/HSSFReadWrite.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/src/org/apache/poi/hssf/usermodel/examples/HSSFReadWrite.java b/src/examples/src/org/apache/poi/hssf/usermodel/examples/HSSFReadWrite.java index 2393b18122..ab848d3dd6 100644 --- a/src/examples/src/org/apache/poi/hssf/usermodel/examples/HSSFReadWrite.java +++ b/src/examples/src/org/apache/poi/hssf/usermodel/examples/HSSFReadWrite.java @@ -188,7 +188,7 @@ public final class HSSFReadWrite { String value; if(cell != null) { - switch (cell.getCellTypeEnum()) { + switch (cell.getCellType()) { case FORMULA: value = "FORMULA value=" + cell.getCellFormula(); @@ -215,7 +215,7 @@ public final class HSSFReadWrite { break; default: - value = "UNKNOWN value of type " + cell.getCellTypeEnum(); + value = "UNKNOWN value of type " + cell.getCellType(); } System.out.println("CELL col=" + cell.getColumnIndex() + " VALUE=" + value); |