aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hssf/extractor
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-04-12 11:12:57 +0000
committerJaven O'Neal <onealj@apache.org>2016-04-12 11:12:57 +0000
commit18f7a2de88d3b13c3dc5bbc9d1b6521bfb5aeb75 (patch)
tree0a2f937a4ec41f36937400af3881be49eedcd0f9 /src/java/org/apache/poi/hssf/extractor
parent4ae65e6253d7df97b6ae6553263622c4bc46b765 (diff)
downloadpoi-18f7a2de88d3b13c3dc5bbc9d1b6521bfb5aeb75.tar.gz
poi-18f7a2de88d3b13c3dc5bbc9d1b6521bfb5aeb75.zip
fix several findbugs SF_SWITCH_NO_DEFAULT warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738765 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hssf/extractor')
-rw-r--r--src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java b/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java
index 27df0c8f17..f95c7b2a9a 100644
--- a/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java
+++ b/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java
@@ -367,6 +367,8 @@ public class ExcelExtractor extends POIOLE2TextExtractor implements org.apache.p
case HSSFCell.CELL_TYPE_ERROR:
text.append(ErrorEval.getText(cell.getErrorCellValue()));
break;
+ default:
+ throw new IllegalStateException("Unexpected cell cached formula result type: " + cell.getCachedFormulaResultType());
}
}