[hornetq-commits] JBoss hornetq SVN: r11988 - trunk/etc.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Jan 6 08:03:06 EST 2012


Author: borges
Date: 2012-01-06 08:03:06 -0500 (Fri, 06 Jan 2012)
New Revision: 11988

Modified:
   trunk/etc/findbugs-exclude.xml
Log:
Exclude findbugs warning on GC, as (specific) usage is valid.

Modified: trunk/etc/findbugs-exclude.xml
===================================================================
--- trunk/etc/findbugs-exclude.xml	2012-01-06 12:43:36 UTC (rev 11987)
+++ trunk/etc/findbugs-exclude.xml	2012-01-06 13:03:06 UTC (rev 11988)
@@ -31,5 +31,11 @@
       <Method name="getDoubleProperty"/>
     </Or>
     <Bug pattern="NP_NULL_PARAM_DEREF_NONVIRTUAL"/>
-</Match>
+  </Match>
+
+  <Match>
+    <!-- Code is meant to measure memory usage, so calling Garbage Collection is normal. -->
+    <Class name="org.hornetq.utils.MemorySize"/>
+    <bug pattern="DM_GC"/>
+  </Match>
 </FindBugsFilter>



More information about the hornetq-commits mailing list