poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1748081 - /poi/trunk/src/resources/devtools/findbugs-filters.xml
Date Mon, 13 Jun 2016 04:09:41 GMT
Author: onealj
Date: Mon Jun 13 04:09:41 2016
New Revision: 1748081

URL: http://svn.apache.org/viewvc?rev=1748081&view=rev
Log:
consolidate findbugs filters using Or logic

Modified:
    poi/trunk/src/resources/devtools/findbugs-filters.xml

Modified: poi/trunk/src/resources/devtools/findbugs-filters.xml
URL: http://svn.apache.org/viewvc/poi/trunk/src/resources/devtools/findbugs-filters.xml?rev=1748081&r1=1748080&r2=1748081&view=diff
==============================================================================
--- poi/trunk/src/resources/devtools/findbugs-filters.xml (original)
+++ poi/trunk/src/resources/devtools/findbugs-filters.xml Mon Jun 13 04:09:41 2016
@@ -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"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message