aboutsummaryrefslogtreecommitdiffstats
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/devtools/findbugs-filters.xml27
1 files changed, 20 insertions, 7 deletions
diff --git a/src/resources/devtools/findbugs-filters.xml b/src/resources/devtools/findbugs-filters.xml
index 4677ffe633..b2152bcf48 100644
--- a/src/resources/devtools/findbugs-filters.xml
+++ b/src/resources/devtools/findbugs-filters.xml
@@ -47,18 +47,31 @@
</Or>
<Bug code="Nm" />
</Match>
+
+ <!-- ignore fields that correspond to the values in a H??F binary record -->
+ <Match>
+ <Class name="~org\.apache\.poi\.h..f\..*"/>
+ <Bug pattern="URF_UNREAD_FIELD" />
+ <Field name="~field_[12345].*" />
+ </Match>
<Match>
- <Class name="org.apache.poi.hpsf.Decimal"/>
+ <Class name="org.apache.poi.hssf.usermodel.HSSFChart"/>
<Bug pattern="URF_UNREAD_FIELD" />
- <Field name="field_[12345]_.+" />
+ <Field name="chartTitleFormat" />
</Match>
+ <Match>
+ <Class name="org.apache.poi.hwmf.record.HwmfWindowing"/>
+ <Bug pattern="URF_UNREAD_FIELD" />
+ <Field name="count2" />
+ </Match>
+
+
<!-- invalid performance issues - e.g. see #57840 -->
<Match>
- <Class name="org.apache.poi.xssf.usermodel.XSSFRow"/>
- <Bug pattern="DM_NUMBER_CTOR" />
- </Match>
- <Match>
- <Class name="org.apache.poi.xssf.usermodel.XSSFSheet"/>
+ <Or>
+ <Class name="org.apache.poi.xssf.usermodel.XSSFRow"/>
+ <Class name="org.apache.poi.xssf.usermodel.XSSFSheet"/>
+ </Or>
<Bug pattern="DM_NUMBER_CTOR" />
</Match>