aboutsummaryrefslogtreecommitdiffstats
path: root/src/resources/devtools
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-06-13 06:12:35 +0000
committerJaven O'Neal <onealj@apache.org>2016-06-13 06:12:35 +0000
commitf31c1d72fc725ce0def018094b046e80a44dba6d (patch)
tree113f5e30dcf96fe4410f2c007c3d4a57ecff8ea1 /src/resources/devtools
parent1e55cb475a4398542a1ab528e6d3c52f62798f73 (diff)
downloadpoi-f31c1d72fc725ce0def018094b046e80a44dba6d.tar.gz
poi-f31c1d72fc725ce0def018094b046e80a44dba6d.zip
findbugs: fix SF_SWITCH_FALLTHROUGH warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748088 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/resources/devtools')
-rw-r--r--src/resources/devtools/findbugs-filters.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/resources/devtools/findbugs-filters.xml b/src/resources/devtools/findbugs-filters.xml
index eedae72994..2947940eee 100644
--- a/src/resources/devtools/findbugs-filters.xml
+++ b/src/resources/devtools/findbugs-filters.xml
@@ -82,6 +82,40 @@
<Field name="pitch" />
</Or>
</Match>
+ <Match>
+ <Class name="org.apache.poi.hssf.usermodel.HSSFCell"/>
+ <Or>
+ <Method name="setCellValue" params="double" />
+ <Method name="setCellValue" params="boolean" />
+ <Method name="setCellErrorValue" params="byte" />
+ </Or>
+ <Bug pattern="SF_SWITCH_FALLTHROUGH" />
+ </Match>
+ <Match>
+ <Class name="org.apache.poi.hssf.usermodel.HSSFWorkbook"/>
+ <Method name="addPicture" />
+ <Bug pattern="SF_SWITCH_FALLTHROUGH" />
+ </Match>
+ <Match>
+ <Class name="org.apache.poi.ss.formula.atp.YearFrac"/>
+ <Method name="evaluate" />
+ <Bug pattern="SF_SWITCH_FALLTHROUGH" />
+ </Match>
+ <Match>
+ <Class name="org.apache.poi.ss.formula.functions.FinanceFunction"/>
+ <Method name="evaluate" />
+ <Bug pattern="SF_SWITCH_FALLTHROUGH" />
+ </Match>
+ <Match>
+ <Class name="org.apache.poi.ss.formula.functions.Offset"/>
+ <Method name="evaluate" />
+ <Bug pattern="SF_SWITCH_FALLTHROUGH" />
+ </Match>
+ <Match>
+ <Class name="org.apache.poi.util.HeadRead"/>
+ <Method name="readData" params="java.io.InputStream,int" />
+ <Bug pattern="SF_SWITCH_FALLTHROUGH" />
+ </Match>
<!-- invalid performance issues - e.g. see #57840 -->