You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2009/10/02 19:50:25 UTC

svn commit: r821111 - /harmony/enhanced/classlib/trunk/modules/luni/make/findbugs-exclude-filter.xml

Author: tellison
Date: Fri Oct  2 17:50:25 2009
New Revision: 821111

URL: http://svn.apache.org/viewvc?rev=821111&view=rev
Log:
More findBugs exclusion filter tweaks.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/make/findbugs-exclude-filter.xml

Modified: harmony/enhanced/classlib/trunk/modules/luni/make/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/make/findbugs-exclude-filter.xml?rev=821111&r1=821110&r2=821111&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/make/findbugs-exclude-filter.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/make/findbugs-exclude-filter.xml Fri Oct  2 17:50:25 2009
@@ -33,7 +33,7 @@
 			<Class name="java.lang.Long" />
 			<Class name="java.lang.Short" />
 		</Or>
-		<Bug pattern="DM_FP_NUMBER_CTOR" />
+		<Bug pattern="DM_NUMBER_CTOR" />
 	</Match>
 
 	<!--
@@ -161,10 +161,11 @@
 		<Bug code="DMI_BLOCKING_METHODS_ON_URL" />
 	</Match>
 
-	<!-- Load of known null value is intended (line 409) -->
+	<!-- OK for URLClassLoader to ignore the exception here -->
 	<Match>
-		<Class name="java.net.URL" />
-		<Bug code="NP" />
+		<Class name="java.net.URLClassLoader" />
+		<Method name="findResources"/>
+		<Bug code="DE_MIGHT_IGNORE" />
 	</Match>
 
 	<!-- Ignoring exceptions in this method is ok -->