You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2011/04/07 01:02:27 UTC
svn commit: r1089663 - /commons/proper/net/trunk/findbugs-exclude-filter.xml
Author: sebb
Date: Wed Apr 6 23:02:27 2011
New Revision: 1089663
URL: http://svn.apache.org/viewvc?rev=1089663&view=rev
Log:
A few more false positives (or unnecessary reports)
Modified:
commons/proper/net/trunk/findbugs-exclude-filter.xml
Modified: commons/proper/net/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/findbugs-exclude-filter.xml?rev=1089663&r1=1089662&r2=1089663&view=diff
==============================================================================
--- commons/proper/net/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/net/trunk/findbugs-exclude-filter.xml Wed Apr 6 23:02:27 2011
@@ -30,6 +30,18 @@
<Bug code="BC" />
</Match>
+ <!-- Unchecked cast is deliberate -->
+ <Match>
+ <Class name="org.apache.commons.net.ftp.FTPSSocketFactory" />
+ <Method name="init" />
+ <Bug code="BC" />
+ </Match>
+
+ <!-- Don't bother with EI - expose internal representation -->
+ <Match>
+ <Bug code="EI,EI2" />
+ </Match>
+
<!-- future FTPClientConfig instances may not implement configurable -->
<Match>
<Class name="org.apache.commons.net.ftp.parser.ConfigurableFTPFileEntryParserImpl" />
@@ -58,4 +70,9 @@
<Bug code="SF" />
</Match>
+ <!-- Don't check examples -->
+ <Match>
+ <Package name="~examples\..*" />
+ </Match>
+
</FindBugsFilter>