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/15 17:30:30 UTC

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

Author: tellison
Date: Thu Oct 15 15:30:29 2009
New Revision: 825520

URL: http://svn.apache.org/viewvc?rev=825520&view=rev
Log:
Ignore a false positive warning from findbugs.

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

Modified: harmony/enhanced/classlib/trunk/modules/pack200/make/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/make/findbugs-exclude-filter.xml?rev=825520&r1=825519&r2=825520&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/make/findbugs-exclude-filter.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/make/findbugs-exclude-filter.xml Thu Oct 15 15:30:29 2009
@@ -31,7 +31,16 @@
         <Class name="org.apache.harmony.unpack200.BcBands" />
         <Method name="read" />
         <Bug pattern="SF_SWITCH_FALLTHROUGH" />
-    </Match> 
+    </Match>
+
+	<!--
+        Our cache is testing String with ==
+    -->
+	<Match>
+		<Class name="org.apache.harmony.unpack200.SegmentConstantPoolArrayCache" />
+		<Method name="indexesForArrayKey" />
+		<Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ" />
+	</Match> 
 
 </FindBugsFilter>