forked from vmware-archive/xenon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
findbugs-exclude.xml
28 lines (26 loc) · 1.17 KB
/
findbugs-exclude.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
<FindBugsFilter>
<!-- Findbugs reports lots of unwritten/unread public fields, and as best we can tell -->
<!-- many are spurious, so we disable all of them. It's true that -->
<!-- we'll miss some valid ones, but this is not serious -->
<Match>
<Or>
<Bug pattern="UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD"/>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
<Bug pattern="UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD"/>
</Or>
</Match>
<!-- Findbugs reports that we use a hardcoded filename, but it's hardcoded resource -->
<!-- name, which is reasonable and safe -->
<Match>
<Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME"/>
<Class name="com.vmware.xenon.common.ServiceHost"/>
<Method name="discoverUiResources"/>
</Match>
<!-- Findbugs reports that we call System.exit, and that's a bad practice -->
<!-- We do it intentionally in /core/management, so we disable the warning -->
<Match>
<Bug pattern="DM_EXIT"/>
<Class name="com.vmware.xenon.services.common.ServiceHostManagementService"/>
<Method name="handleDelete"/>
</Match>
</FindBugsFilter>