forked from PCGen/pcgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spotbugs_ignore.xml
28 lines (27 loc) · 1.01 KB
/
spotbugs_ignore.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<Match>
<!-- high number of false positive -->
<Bug pattern="PSC_PRESIZE_COLLECTIONS" />
</Match>
<Match>
<!-- not relevent to pcgen -->
<Bug pattern="IJU_SETUP_NO_SUPER,DP_DO_INSIDE_DO_PRIVILEGED,DM_EXIT" />
</Match>
<Match>
<!-- we have other tools for code style -->
<!--NM_CLASS_NAMING_CONVENTION,MS_SHOULD_BE_FINAL,NM_METHOD_NAMING_CONVENTION,-->
<Bug pattern="DM_BOXED_PRIMITIVE_FOR_PARSING,SIC_INNER_SHOULD_BE_STATIC,ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD,ITC_INHERITANCE_TYPE_CHECKING" />
</Match>
<Match>
<!-- visibility concerns: we should eventually turn these on -->
<Bug pattern="MS_PKGPROTECT,OPM_OVERLY_PERMISSIVE_METHOD" />
</Match>
<Match>
<Class name="~.*\.*Test" />
<Not>
<!-- 'IJU' is the code for Bugs related to JUnit test code -->
<Bug code="IJU" />
</Not>
</Match>
</FindBugsFilter>