-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fine-grained SpotBugs exclusions (#78)
- Loading branch information
Showing
2 changed files
with
73 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FindBugsFilter> | ||
<!-- | ||
Exclusions in this section have been triaged and determined to be false positives. | ||
--> | ||
<Match> | ||
<Or> | ||
<!-- Pending https://github.com/spotbugs/spotbugs/issues/1515 --> | ||
<Bug pattern="DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED"/> | ||
</Or> | ||
</Match> | ||
<!-- | ||
Here lies technical debt. Exclusions in this section have not yet been triaged. When working on | ||
on this section, pick an exclusion to triage, then: | ||
- If it is a false positive, add a @SuppressFBWarnings(value = "[…]", justification = "[…]") | ||
annotation indicating the reason why it is a false positive, then remove the exclusion from | ||
this section. | ||
- If it is not a false positive, fix the bug, then remove the exclusion from this section. | ||
--> | ||
<Match> | ||
<Confidence value="1"/> | ||
<Or> | ||
<And> | ||
<Bug pattern="DM_DEFAULT_ENCODING"/> | ||
<Or> | ||
<Class name="org.kohsuke.file_leak_detector.AgentMain"/> | ||
<Class name="org.kohsuke.file_leak_detector.AgentMain$3$1"/> | ||
<Class name="org.kohsuke.file_leak_detector.Listener"/> | ||
</Or> | ||
</And> | ||
</Or> | ||
</Match> | ||
<Match> | ||
<Confidence value="2"/> | ||
<Or> | ||
<And> | ||
<Bug pattern="MS_MUTABLE_COLLECTION_PKGPROTECT"/> | ||
<Class name="org.kohsuke.file_leak_detector.Listener"/> | ||
</And> | ||
<And> | ||
<Bug pattern="MS_PKGPROTECT"/> | ||
<Class name="org.kohsuke.file_leak_detector.Listener"/> | ||
</And> | ||
<And> | ||
<Bug pattern="PATH_TRAVERSAL_IN"/> | ||
<Or> | ||
<Class name="org.kohsuke.file_leak_detector.AgentMain"/> | ||
<Class name="org.kohsuke.file_leak_detector.Main"/> | ||
</Or> | ||
</And> | ||
<And> | ||
<Bug pattern="PATH_TRAVERSAL_OUT"/> | ||
<Class name="org.kohsuke.file_leak_detector.AgentMain"/> | ||
</And> | ||
<And> | ||
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE"/> | ||
<Or> | ||
<Class name="org.kohsuke.file_leak_detector.AgentMain"/> | ||
<Class name="org.kohsuke.file_leak_detector.AgentMain$3"/> | ||
</Or> | ||
</And> | ||
<And> | ||
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT"/> | ||
<Class name="org.kohsuke.file_leak_detector.AgentMain"/> | ||
</And> | ||
<And> | ||
<Bug pattern="UNENCRYPTED_SERVER_SOCKET"/> | ||
<Class name="org.kohsuke.file_leak_detector.AgentMain"/> | ||
</And> | ||
</Or> | ||
</Match> | ||
</FindBugsFilter> |