-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspotbugs-exclude.xml
More file actions
25 lines (24 loc) · 921 Bytes
/
spotbugs-exclude.xml
File metadata and controls
25 lines (24 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<!--
Exclude EI_EXPOSE_REP and EI_EXPOSE_REP2 for Java records.
Records are meant to be transparent data carriers and exposing
their internal representation is intentional and safe.
-->
<Match>
<Class name="org.flossware.commons.soap.SoapRecord" />
<Or>
<Bug pattern="EI_EXPOSE_REP" />
<Bug pattern="EI_EXPOSE_REP2" />
</Or>
</Match>
<!--
Exclude THROWS_METHOD_THROWS_RUNTIMEEXCEPTION for deprecated serialization methods.
These methods intentionally throw RuntimeException on deserialization/compression failures.
They are deprecated and scheduled for removal in v2.0.
-->
<Match>
<Class name="org.flossware.commons.util.StringUtil" />
<Bug pattern="THROWS_METHOD_THROWS_RUNTIMEEXCEPTION" />
</Match>
</FindBugsFilter>