I think we can disable this, as we only pass objects from our code / Android

https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html#ei2-may-expose-internal-representation-by-incorporating-reference-to-mutable-object-ei-expose-rep2
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2021-10-22 09:02:28 +02:00 committed by Tobias Kaminsky (Rebase PR Action)
parent aa1f1add49
commit 6a57af4c90

View file

@ -55,6 +55,7 @@
<Bug pattern="ANDROID_EXTERNAL_FILE_ACCESS" /> <Bug pattern="ANDROID_EXTERNAL_FILE_ACCESS" />
<Bug pattern="BAS_BLOATED_ASSIGNMENT_SCOPE" /> <Bug pattern="BAS_BLOATED_ASSIGNMENT_SCOPE" />
<Bug pattern="IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID" /> <Bug pattern="IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID" />
<Bug pattern="EI_EXPOSE_REP2" />
<!-- This is unmanageable for now due to large amount of interconnected static state --> <!-- This is unmanageable for now due to large amount of interconnected static state -->
<Bug pattern="FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY" /> <Bug pattern="FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY" />