commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1697220 - /commons/proper/bcel/trunk/findbugs-exclude-filter.xml
Date Sun, 23 Aug 2015 16:40:25 GMT
Author: sebb
Date: Sun Aug 23 16:40:25 2015
New Revision: 1697220

URL: http://svn.apache.org/r1697220
Log:
Suppress some more Findbugs reports

Modified:
    commons/proper/bcel/trunk/findbugs-exclude-filter.xml

Modified: commons/proper/bcel/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/findbugs-exclude-filter.xml?rev=1697220&r1=1697219&r2=1697220&view=diff
==============================================================================
--- commons/proper/bcel/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/bcel/trunk/findbugs-exclude-filter.xml Sun Aug 23 16:40:25 2015
@@ -42,7 +42,16 @@
     <Class name="~.*\.verifier\.TransitiveHull" />
     <Bug pattern="DM_GC" />
   </Match>
-  
+
+  <!-- clone() creates a new instance so does not need to call super.clone() -->
+  <Match>
+    <Bug pattern="CN_IDIOM_NO_SUPER_CALL"/>
+    <Method name="clone"/>
+    <Or>
+      <Class name="~.*\.verifier\.structurals\.LocalVariables"/>
+      <Class name="~.*\.verifier\.structurals\.OperandStack"/>
+    </Or>
+  </Match>
 
   <!-- Reason: TODO, perhaps? -->
   <Match>



Mime
View raw message