Exclude MS_EXPOSE_REP 72/99772/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Feb 2022 08:35:16 +0000 (09:35 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Feb 2022 08:35:16 +0000 (09:35 +0100)
Another case where SpotBugs is overly-aggressive is MS_EXPOSE_REP,
for example in shared objects implementing Collection.

Change-Id: I42b6ffd66bdbc72eedeab293db6f7b02690bc2cb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
spotbugs/src/main/resources/spotbugs-exclude.xml

index d9d1ef36dcff6eb36fd992a1a77cdde25e82ea35..e6a2b99f444fc15db4ec78a247076156fcf0ed96 100644 (file)
@@ -36,6 +36,7 @@
            @SuppressFBWarnings. -->
       <Bug pattern="EI_EXPOSE_REP"/>
       <Bug pattern="EI_EXPOSE_REP2"/>
+      <Bug pattern="MS_EXPOSE_REP"/>
     </Or>
   </Match>
 </FindBugsFilter>