mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 21:47:18 +00:00
Update findbugs.xml to suppress useless warnings.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user