Skip to content

Commit

Permalink
feat(spotbugs): exclude EI_EXPOSE_REP2, allowing references to mutabl…
Browse files Browse the repository at this point in the history
…e objects
  • Loading branch information
keturn committed Jun 6, 2022
1 parent 0850e6f commit 7c15d50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions findbugs/findbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<!-- Really don't care about Serializable in Terasology -->
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE"/>
</Match>
<Match>
<!-- Terasology depends on shared mutable objects all the time. -->
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
<Match>
<Package name="~org\.terasology\.protobuf.*" />
</Match>
Expand Down

0 comments on commit 7c15d50

Please sign in to comment.