[jboss-cvs] JBossAS SVN: r94353 - in projects/kernel/trunk/guice-int/src/main: resources and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Oct 5 07:02:47 EDT 2009
Author: kabir.khan at jboss.com
Date: 2009-10-05 07:02:46 -0400 (Mon, 05 Oct 2009)
New Revision: 94353
Added:
projects/kernel/trunk/guice-int/src/main/resources/
projects/kernel/trunk/guice-int/src/main/resources/findbugs/
projects/kernel/trunk/guice-int/src/main/resources/findbugs/exclude.xml
Log:
findbugs fixes and exclude file
Added: projects/kernel/trunk/guice-int/src/main/resources/findbugs/exclude.xml
===================================================================
--- projects/kernel/trunk/guice-int/src/main/resources/findbugs/exclude.xml (rev 0)
+++ projects/kernel/trunk/guice-int/src/main/resources/findbugs/exclude.xml 2009-10-05 11:02:46 UTC (rev 94353)
@@ -0,0 +1,21 @@
+<FindBugsFilter>
+
+ <!-- We are deliberately ignoring the exception -->
+ <Match>
+ <Class name="org.jboss.guice.spi.GuiceKernelRegistryEntryPlugin"/>
+ <Method name="getEntry"/>
+ <Bug pattern="REC_CATCH_EXCEPTION"/>
+ </Match>
+
+ <!-- Method return value is used to enter an empty else if block; else if block is stubbed out -->
+ <Match>
+ <Class name="org.jboss.guice.plugins.GuiceListener"/>
+ <Method name="onEvent" params="org.jboss.kernel.spi.event.KernelEvent, java.lang.Object" returns="void"/>
+ <Or>
+ <Bug pattern="RV_RETURN_VALUE_IGNORED"/>
+ <Bug pattern="UCF_USELESS_CONTROL_FLOW"/>
+ </Or>
+ </Match>
+
+
+</FindBugsFilter>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list