40 lines
933 B
XML
40 lines
933 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<FindBugsFilter>
|
|
|
|
<Match>
|
|
<!-- Our Packet hierarchy intentionally uses clone() without calling super.clone(). -->
|
|
<Bug pattern="CN_IDIOM_NO_SUPER_CALL"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- Internationalization is not a concern. -->
|
|
<Bug pattern="DM_DEFAULT_ENCODING"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- This seems to get triggered by certain kotlin constructs though they look safe -->
|
|
<Bug pattern="BC_BAD_CAST_TO_ABSTRACT_COLLECTION"/>
|
|
<Source name="~.*\.kt" />
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- Serialization -->
|
|
<Bug pattern="SE_BAD_FIELD"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- Serialization -->
|
|
<Bug pattern="SE_BAD_FIELD_STORE"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- Tests have a valid reason to ignore return values (expecting exceptions, etc). -->
|
|
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT"/>
|
|
<Or>
|
|
<Source name="~.*\.*Test.kt" />
|
|
<Source name="~.*\.*Test.java" />
|
|
</Or>
|
|
</Match>
|
|
|
|
</FindBugsFilter>
|