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 2013/12/23 22:38:48 UTC
svn commit: r1553219 - /commons/proper/pool/trunk/findbugs-exclude-filter.xml
Author: psteitz
Date: Mon Dec 23 21:38:47 2013
New Revision: 1553219
URL: http://svn.apache.org/r1553219
Log:
Muted findbugs complaint on volatile increment in sync scope.
Modified:
commons/proper/pool/trunk/findbugs-exclude-filter.xml
Modified: commons/proper/pool/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/findbugs-exclude-filter.xml?rev=1553219&r1=1553218&r2=1553219&view=diff
==============================================================================
--- commons/proper/pool/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/pool/trunk/findbugs-exclude-filter.xml Mon Dec 23 21:38:47 2013
@@ -148,4 +148,10 @@
<Method name="create" />
<Bug pattern="DM_STRING_CTOR" />
</Match>
+ <Match>
+ <!-- Increment (only write) is in synchronized method, unprotected read in getter is OK -->
+ <Class name="org.apache.commons.pool2.impl.DefaultPooledObject" />
+ <Method name="allocate" />
+ <Bug pattern="VO_VOLATILE_INCREMENT" />
+ </Match>
</FindBugsFilter>