aboutsummaryrefslogtreecommitdiffstats
path: root/src/resources/devtools
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-06-13 04:09:41 +0000
committerJaven O'Neal <onealj@apache.org>2016-06-13 04:09:41 +0000
commit8b8b75f5474c1d91276306ec069cc85d718190bb (patch)
treea9d5a77d0b7fbd59ff6600f25fae8afb47c7c18d /src/resources/devtools
parentb597097568c9dad93b1a1197f056499d2e6e16f1 (diff)
downloadpoi-8b8b75f5474c1d91276306ec069cc85d718190bb.tar.gz
poi-8b8b75f5474c1d91276306ec069cc85d718190bb.zip
consolidate findbugs filters using Or logic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748081 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/resources/devtools')
-rw-r--r--src/resources/devtools/findbugs-filters.xml73
1 files changed, 17 insertions, 56 deletions
diff --git a/src/resources/devtools/findbugs-filters.xml b/src/resources/devtools/findbugs-filters.xml
index cb9c4f3607..4677ffe633 100644
--- a/src/resources/devtools/findbugs-filters.xml
+++ b/src/resources/devtools/findbugs-filters.xml
@@ -29,68 +29,29 @@
<!-- things that were moved or are named equally on purpose -->
<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" />
</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"/>
<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"/>