Skip to content

Commit

Permalink
Exclude the checks of the generated class
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-timofeev committed Jun 24, 2019
1 parent 707cd33 commit 7625f6f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion exonum-java-binding/core/findbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@
<Bug pattern="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE"/>
</Match>

<!-- Exclude the auto-generated files.
Remove the rules below once https://github.com/spotbugs/spotbugs/issues/694 is resolved. -->

<!-- It is good, hashCode is specified in the parent, which is *the* way
to configure it in AutoValue -->
<Match>
<Class name="~.*AutoValue_Block"/>
<Bug pattern="HE_EQUALS_NO_HASHCODE"/>
</Match>

<!-- Exclude the auto-generated files -->
<Match>
<Class name="~.*AutoValue_Block.GsonTypeAdapter"/>
<Bug pattern="RV_RETURN_VALUE_IGNORED"/>
</Match>

<Match>
<Source name="~.*CoreProtos\.java"/>
</Match>
Expand Down

0 comments on commit 7625f6f

Please sign in to comment.