aboutsummaryrefslogtreecommitdiffstats
path: root/spotbugs
diff options
context:
space:
mode:
authoregernug <gerard.nugent@est.tech>2023-07-03 10:09:09 +0100
committeregernug <gerard.nugent@est.tech>2023-07-13 10:49:36 +0100
commit2b8268f3c599c185fbef549583d0f9dcdcb3a861 (patch)
tree7aa92be824d7fedd2c27bcfb969da78364a0feb2 /spotbugs
parentdb2db56f3358fa8dcccc864e04b490b307877c33 (diff)
Upgrade to Java 17
Upgrade CPS component to Java 17 Issue-ID:CPS-1767 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Ide1e75205851e025371b4822ee161f71f04a6af1
Diffstat (limited to 'spotbugs')
-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>