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