Commit 93d8a8da authored by Mike Hearn's avatar Mike Hearn

Update findbugs.xml to suppress useless warnings.

parent f9a57db8
......@@ -16,15 +16,33 @@
<FindBugsFilter>
<Match>
<!-- Protos and inner classes are generated by the proto compiler -->
<Package name="org.bitcoinj.protos"/>
<Package name="org.bitcoin.protocols.payments"/>
<Package name="org.bitcoinj.protos"/>
<Package name="org.bitcoin.protocols.payments"/>
</Match>
<!-- bitcoinj is not designed to run in an environment with malicious code loaded into the VM -->
<Bug category="MALICIOUS_CODE"/>
<Match>
<Bug category="MALICIOUS_CODE"/>
</Match>
<!-- Ignore serialization bugs for now, it's not a high priority anymore -->
<Match>
<Bug code="Se"/>
</Match>
<!-- This is flagging a valid issue but the real bug is in the JDK. See issue 173. -->
<Bug pattern="LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE"/>
<Match>
<Bug pattern="LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE"/>
</Match>
<!-- The code is correct but findbugs can't analyze it properly -->
<Match>
<Bug code="SF"/>
<Class name="com.google.bitcoin.core.BloomFilter"/>
</Match>
<!-- fb doesn't like the odd API this class has -->
<Match>
<Class name="~.*SendRequest.*"/>
</Match>
</FindBugsFilter>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment