-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathspotbugs-exclude.xml
More file actions
35 lines (30 loc) · 1.03 KB
/
spotbugs-exclude.xml
File metadata and controls
35 lines (30 loc) · 1.03 KB
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
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<!--
SpotBugs exclusion filter for SafeguardJava.
Only suppress categories that are intentional design choices,
not actual bugs. Real issues should be fixed in source.
-->
<!-- Constructor throw: SDK constructors intentionally validate and throw -->
<Match>
<Bug pattern="CT_CONSTRUCTOR_THROW" />
</Match>
<!-- Method naming: public API names match SafeguardDotNet conventions (e.g. Persist) -->
<Match>
<Bug pattern="NM_METHOD_NAMING_CONVENTION" />
</Match>
<Match>
<Bug pattern="NM_VERY_CONFUSING" />
</Match>
<!-- Mutable exposure: SDK DTOs and connections intentionally share references -->
<Match>
<Bug pattern="EI_EXPOSE_REP" />
</Match>
<Match>
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
<!-- Inner classes: Event/A2A nested classes are intentionally non-static -->
<Match>
<Bug pattern="SIC_INNER_SHOULD_BE_STATIC" />
</Match>
</FindBugsFilter>