You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/03/10 15:39:22 UTC
svn commit: r1454856 - /commons/proper/math/trunk/findbugs-exclude-filter.xml
Author: tn
Date: Sun Mar 10 14:39:21 2013
New Revision: 1454856
URL: http://svn.apache.org/r1454856
Log:
Add exclude filters for false-positive: serialization is handled by an inner class via readResolve.
Modified:
commons/proper/math/trunk/findbugs-exclude-filter.xml
Modified: commons/proper/math/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/findbugs-exclude-filter.xml?rev=1454856&r1=1454855&r2=1454856&view=diff
==============================================================================
--- commons/proper/math/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/math/trunk/findbugs-exclude-filter.xml Sun Mar 10 14:39:21 2013
@@ -153,6 +153,16 @@
<Method name="<init>" params="double[],double,boolean" returns="void" />
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
+ <!-- Serialization is handled by an internal class -->
+ <Match>
+ <Or>
+ <Class name="org.apache.commons.math3.optim.PointValuePair"/>
+ <Class name="org.apache.commons.math3.optim.PointVectorValuePair"/>
+ <Class name="org.apache.commons.math3.optimization.PointValuePair"/>
+ <Class name="org.apache.commons.math3.optimization.PointVectorValuePair"/>
+ </Or>
+ <Bug pattern="SE_NO_SUITABLE_CONSTRUCTOR" />
+ </Match>
<Match>
<Class name="org.apache.commons.math3.optimization.PointVectorValuePair"/>
<Or>