aboutsummaryrefslogtreecommitdiffstats
path: root/src/resources/devtools
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-06-13 05:34:02 +0000
committerJaven O'Neal <onealj@apache.org>2016-06-13 05:34:02 +0000
commit2df9f76acf87d172adf1331d5992fa8c7e2668c6 (patch)
tree38e6eff5a1ce2916a932065da9a4c0db5033c7cf /src/resources/devtools
parent288b0b46b9846a9e3a20d25e6537b00137183387 (diff)
downloadpoi-2df9f76acf87d172adf1331d5992fa8c7e2668c6.tar.gz
poi-2df9f76acf87d172adf1331d5992fa8c7e2668c6.zip
findbugs: fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD and UUF_UNUSED_FIELD warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748086 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/resources/devtools')
-rw-r--r--src/resources/devtools/findbugs-filters.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/resources/devtools/findbugs-filters.xml b/src/resources/devtools/findbugs-filters.xml
index 318db2b114..eedae72994 100644
--- a/src/resources/devtools/findbugs-filters.xml
+++ b/src/resources/devtools/findbugs-filters.xml
@@ -74,6 +74,14 @@
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
<Field name="compression" />
</Match>
+ <Match>
+ <Class name="org.apache.poi.hwmf.record.HwmfFont"/>
+ <Bug pattern="UUF_UNUSED_FIELD" />
+ <Or>
+ <Field name="family" />
+ <Field name="pitch" />
+ </Or>
+ </Match>
<!-- invalid performance issues - e.g. see #57840 -->