aboutsummaryrefslogtreecommitdiffstats
path: root/spotbugs/src/main/resources/spotbugs-exclude.xml
diff options
context:
space:
mode:
Diffstat (limited to 'spotbugs/src/main/resources/spotbugs-exclude.xml')
-rw-r--r--spotbugs/src/main/resources/spotbugs-exclude.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/spotbugs/src/main/resources/spotbugs-exclude.xml b/spotbugs/src/main/resources/spotbugs-exclude.xml
index d8731ac818..ab37f41bae 100644
--- a/spotbugs/src/main/resources/spotbugs-exclude.xml
+++ b/spotbugs/src/main/resources/spotbugs-exclude.xml
@@ -49,6 +49,8 @@
<!-- https://github.com/spotbugs/spotbugs/issues/756. spotbugs does not grok Java 11's try-with-resources -->
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
+ <Bug pattern="EI_EXPOSE_REP"/>
+ <Bug pattern="EI_EXPOSE_REP2"/>
</Or>
</Match>