commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1672928 - /commons/proper/configuration/trunk/conf/findbugs-exclude-filter.xml
Date Sat, 11 Apr 2015 20:34:22 GMT
Author: oheger
Date: Sat Apr 11 20:34:22 2015
New Revision: 1672928

URL: http://svn.apache.org/r1672928
Log:
Started rework of findbugs exclusions.

Removed general priority filters. Added an exclusion for bug pattern
DM_DEFAULT_ENCODING in debug code.

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=1672928&r1=1672927&r2=1672928&view=diff
==============================================================================
--- commons/proper/configuration/trunk/conf/findbugs-exclude-filter.xml (original)
+++ commons/proper/configuration/trunk/conf/findbugs-exclude-filter.xml Sat Apr 11 20:34:22
2015
@@ -15,17 +15,23 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
+<!--
+  This file contains some false positive bugs detected by findbugs. Their
+  false positive nature has been analyzed individually and they have been
+  put here to instruct findbugs it must ignore them.
+  $Id$
+-->
 
-<!-- ===================================================================== -->
-<!-- $Id$ -->
-<!-- ===================================================================== -->
 <FindBugsFilter>
-  <!-- Enable only high priority warnings -->
+  <!-- Reason: The reliance on default encoding is only in debug code. -->
   <Match>
-    <Priority value="2"/>
+    <Class name="org.apache.commons.configuration2.CombinedConfiguration" />
+    <Method name="constructCombinedNode" />
+    <Bug pattern="DM_DEFAULT_ENCODING" />
   </Match>
-
   <Match>
-    <Priority value="3"/>
+    <Class name="org.apache.commons.configuration2.ConfigurationUtils" />
+    <Method name="dump" />
+    <Bug pattern="DM_DEFAULT_ENCODING" />
   </Match>
 </FindBugsFilter>



Mime
View raw message