Upgrade to Java 17
[cps.git] / spotbugs / src / main / resources / spotbugs-exclude.xml
index d8731ac..ab37f41 100644 (file)
@@ -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>