Add exclude filters for false-positive: serialization is handled by an inner class via readResolve.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454856 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-03-10 14:39:21 +00:00
parent fd8a0da6b9
commit e7a8a26185
1 changed files with 10 additions and 0 deletions

View File

@ -153,6 +153,16 @@
<Method name="&lt;init>" params="double[],double,boolean" returns="void" /> <Method name="&lt;init>" params="double[],double,boolean" returns="void" />
<Bug pattern="EI_EXPOSE_REP2" /> <Bug pattern="EI_EXPOSE_REP2" />
</Match> </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> <Match>
<Class name="org.apache.commons.math3.optimization.PointVectorValuePair"/> <Class name="org.apache.commons.math3.optimization.PointVectorValuePair"/>
<Or> <Or>