You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2015/08/23 18:40:25 UTC

svn commit: r1697220 - /commons/proper/bcel/trunk/findbugs-exclude-filter.xml

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>