commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1479339 - /commons/proper/collections/trunk/findbugs-exclude-filter.xml
Date Sun, 05 May 2013 15:31:59 GMT
Author: tn
Date: Sun May  5 15:31:58 2013
New Revision: 1479339

URL: http://svn.apache.org/r1479339
Log:
Add findbugs exclude filter for an unread field: it is used to make a hard reference.

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

Modified: commons/proper/collections/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/findbugs-exclude-filter.xml?rev=1479339&r1=1479338&r2=1479339&view=diff
==============================================================================
--- commons/proper/collections/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/collections/trunk/findbugs-exclude-filter.xml Sun May  5 15:31:58 2013
@@ -81,4 +81,10 @@
     <Bug pattern="EI_EXPOSE_REP2" />
   </Match>
 
+  <!-- The unread field is used to make a hard reference to ensure the value will not
be gc'ed -->
+  <Match>
+    <Class name="org.apache.commons.collections4.map.AbstractReferenceMap$ReferenceBaseIterator"
/>
+    <Bug pattern="URF_UNREAD_FIELD" />
+  </Match>
+
 </FindBugsFilter>



Mime
View raw message