You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2011/01/02 03:56:36 UTC

svn commit: r1054344 - in /commons/proper/math: branches/MATH_2_X/findbugs-exclude-filter.xml trunk/findbugs-exclude-filter.xml

Author: psteitz
Date: Sun Jan  2 02:56:35 2011
New Revision: 1054344

URL: http://svn.apache.org/viewvc?rev=1054344&view=rev
Log:
Added filter for spurious dead store warning.

Modified:
    commons/proper/math/branches/MATH_2_X/findbugs-exclude-filter.xml
    commons/proper/math/trunk/findbugs-exclude-filter.xml

Modified: commons/proper/math/branches/MATH_2_X/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/findbugs-exclude-filter.xml?rev=1054344&r1=1054343&r2=1054344&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/findbugs-exclude-filter.xml (original)
+++ commons/proper/math/branches/MATH_2_X/findbugs-exclude-filter.xml Sun Jan  2 02:56:35 2011
@@ -89,7 +89,13 @@
     <Method name="atan2" params="double,double" returns="double" />
     <Bug pattern="FE_FLOATING_POINT_EQUALITY" />
   </Match>
-
+  
+  <!-- Spurious: Findbugs confused by final local variables -->
+  <Match>
+    <Class name="org.apache.commons.math.util.FastMath" />
+    <Method name="atan" params="double,double,boolean" returns="double" />
+    <Bug pattern="DLS_DEAD_LOCAL_STORE" />
+  </Match>
 
   <!-- the following expositions of internal representation are intentional and documented -->
   <Match>

Modified: commons/proper/math/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/findbugs-exclude-filter.xml?rev=1054344&r1=1054343&r2=1054344&view=diff
==============================================================================
--- commons/proper/math/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/math/trunk/findbugs-exclude-filter.xml Sun Jan  2 02:56:35 2011
@@ -90,6 +90,12 @@
     <Bug pattern="FE_FLOATING_POINT_EQUALITY" />
   </Match>
 
+  <!-- Spurious: Findbugs confused by final local variables -->
+  <Match>
+    <Class name="org.apache.commons.math.util.FastMath" />
+    <Method name="atan" params="double,double,boolean" returns="double" />
+    <Bug pattern="DLS_DEAD_LOCAL_STORE" />
+  </Match>
 
   <!-- the following expositions of internal representation are intentional and documented -->
   <Match>