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
This commit is contained in:
Javen O'Neal 2016-06-13 05:34:02 +00:00
parent b148307f0f
commit 6c5cd8e400
2 changed files with 10 additions and 1 deletions

View File

@ -74,7 +74,8 @@ public class XWPFTable implements IBodyElement, ISDTContents {
protected StringBuffer text = new StringBuffer();
protected List<XWPFTableRow> tableRows;
protected List<String> styleIDs;
// Unused: UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD
//protected List<String> styleIDs;
protected IBody part;
private CTTbl ctTbl;

View File

@ -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 -->