You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2015/04/18 21:09:14 UTC

svn commit: r1674564 - /commons/proper/configuration/trunk/conf/findbugs-exclude-filter.xml

Author: oheger
Date: Sat Apr 18 19:09:14 2015
New Revision: 1674564

URL: http://svn.apache.org/r1674564
Log:
Added some exclusions for findbugs warning "SE_BAD_FIELD".

The affected classes are used only temporarily and not intended to be
serialized.

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

Modified: commons/proper/configuration/trunk/conf/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/conf/findbugs-exclude-filter.xml?rev=1674564&r1=1674563&r2=1674564&view=diff
==============================================================================
--- commons/proper/configuration/trunk/conf/findbugs-exclude-filter.xml (original)
+++ commons/proper/configuration/trunk/conf/findbugs-exclude-filter.xml Sat Apr 18 19:09:14 2015
@@ -80,4 +80,18 @@
       <Class name="org.apache.commons.configuration2.plist.TokenMgrError" />
     </Or>
   </Match>
+
+  <!-- Reason: These classes are used only temporarily while executing XPATH
+       queries on configuration nodes. They are not intended to be serialized.
+  -->
+  <Match>
+    <Class name="org.apache.commons.configuration2.tree.xpath.ConfigurationNodePointer" />
+    <Field name="handler" />
+    <Bug pattern="SE_BAD_FIELD" />
+  </Match>
+  <Match>
+    <Class name="org.apache.commons.configuration2.tree.xpath.ConfigurationAttributePointer" />
+    <Field name="attributeResult" />
+    <Bug pattern="SE_BAD_FIELD" />
+  </Match>
 </FindBugsFilter>