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:56:14 UTC

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

Author: tellison
Date: Fri Oct  2 17:56:14 2009
New Revision: 821114

URL: http://svn.apache.org/viewvc?rev=821114&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=821114&r1=821113&r2=821114&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:56:14 2009
@@ -158,14 +158,20 @@
 	<!-- URLClassLoader needs to use URL.equals() method -->
 	<Match>
 		<Class name="java.net.URLClassLoader" />
-		<Bug code="DMI_BLOCKING_METHODS_ON_URL" />
+		<Bug pattern="DMI_BLOCKING_METHODS_ON_URL" />
 	</Match>
 
+	<!-- URLClassLoader deals with collections of URLs -->
+	<Match>
+		<Class name="java.net.URLClassLoader" />
+		<Bug pattern="DMI_COLLECTION_OF_URLS" />
+	</Match>
+	
 	<!-- OK for URLClassLoader to ignore the exception here -->
 	<Match>
 		<Class name="java.net.URLClassLoader" />
 		<Method name="findResources"/>
-		<Bug code="DE_MIGHT_IGNORE" />
+		<Bug pattern="DE_MIGHT_IGNORE" />
 	</Match>
 
 	<!-- Ignoring exceptions in this method is ok -->