consolidate findbugs filters using Or logic

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-06-13 04:09:41 +00:00
parent 55b675a384
commit ddfb99fa47

View File

@ -29,68 +29,29 @@
<!-- things that were moved or are named equally on purpose -->
<Match>
<Or>
<Class name="org.apache.poi.hssf.extractor.ExcelExtractor"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.hssf.record.RecordFormatException"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.hssf.record.UnicodeString"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.hssf.usermodel.HeaderFooter"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.hssf.util.AreaReference"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.hssf.util.CellRangeAddress"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.hssf.util.CellRangeAddressList"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.hssf.util.CellReference"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.hssf.util.Region"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.hwpf.usermodel.CharacterRun"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.sl.usermodel.Hyperlink"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.ss.usermodel.Hyperlink"/>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.xssf.model.IndexedUDFFinder"/>
<Class name="org.apache.poi.xdgf.exceptions.XDGFException"/>
</Or>
<Bug code="Nm" />
</Match>
<Match>
<Class name="org.apache.poi.hpsf.Decimal"/>
<Bug pattern="URF_UNREAD_FIELD" />
<Field name="field_[12345]_.+" />
</Match>
<!-- named this way on purpose -->
<Match>
<Class name="org.apache.poi.xdgf.exceptions.XDGFException"/>
<Bug code="Nm" />
</Match>
<!-- invalid performance issues - e.g. see #57840 -->
<Match>
<Class name="org.apache.poi.xssf.usermodel.XSSFRow"/>