Permalink
Browse files

Filter some (expected) findbugs warnings in our examples.

  • Loading branch information...
1 parent 18dabd5 commit 2e80e245fd8bcfedd65b2dddcff8aeca575d48f6 Francisco Borges committed Dec 10, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 etc/findbugs-exclude.xml
View
@@ -135,4 +135,14 @@
<Bug pattern="RV_RETURN_VALUE_IGNORED"/>
</Match>
+ <!-- Examples often verify a null value and use the (null) variable in a sys-out statement -->
+ <Match>
+ <Or>
+ <Class name="org.hornetq.jms.example.TopicHierarchyExample"/>
+ <Class name="org.hornetq.jms.example.TransactionalExample"/>
+ </Or>
+ <Method name="runExample"/>
+ <Bug pattern="NP_LOAD_OF_KNOWN_NULL_VALUE"/>
+ </Match>
+
</FindBugsFilter>

0 comments on commit 2e80e24

Please sign in to comment.