mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 14:40:40 +01:00
Update findbugs.xml to suppress useless warnings.
This commit is contained in:
parent
f9a57db818
commit
93d8a8da1f
1 changed files with 23 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue