Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Filter some (expected) findbugs warnings in our examples.

  • Loading branch information...
commit 2e80e245fd8bcfedd65b2dddcff8aeca575d48f6 1 parent 18dabd5
Francisco Borges authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 etc/findbugs-exclude.xml
10 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>
Please sign in to comment.
Something went wrong with that request. Please try again.