diff options
author | ByteHamster <info@bytehamster.com> | 2021-03-27 19:40:53 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2021-03-27 20:44:35 +0100 |
commit | 71184ee5d4bc3a5b9e83625b9ee40297a6e3dd21 (patch) | |
tree | 2baf4dba3b2e179b09e29f4f72b0f92cf9d4af3e /config/spotbugs | |
parent | 3946f986d723f8579a33140bbe3c0d95182ecab1 (diff) | |
download | AntennaPod-71184ee5d4bc3a5b9e83625b9ee40297a6e3dd21.zip |
Fixed SpotBugs violations, so that at least the most severe checks pass
Diffstat (limited to 'config/spotbugs')
-rw-r--r-- | config/spotbugs/exclude.xml | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/config/spotbugs/exclude.xml b/config/spotbugs/exclude.xml index 4c1e23ece..c2e97c780 100644 --- a/config/spotbugs/exclude.xml +++ b/config/spotbugs/exclude.xml @@ -1,13 +1,39 @@ <?xml version="1.0" encoding="UTF-8"?> <FindBugsFilter> <Match> - <Bug pattern="v WEAK_MESSAGE_DIGEST_MD5"/> + <Bug pattern="DM_DEFAULT_ENCODING"/> + <Class name="de.danoeh.antennapod.core.util.vorbiscommentreader.VorbisCommentReader"/> </Match> <Match> - <Bug pattern="v LI_LAZY_INIT_UPDATE_STATIC"/> + <Bug pattern="MS_MUTABLE_ARRAY"/> + <Class name="de.danoeh.antennapod.fragment.NavDrawerFragment"/> + </Match> + <Match> + <Bug pattern="MS_SHOULD_BE_FINAL"/> + <Class name="de.danoeh.antennapod.core.ClientConfig"/> </Match> <Match> <Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/> <Class name="de.danoeh.antennapod.menuhandler.MenuItemUtils"/> </Match> + <Match> + <Bug pattern="NP_NONNULL_PARAM_VIOLATION"/> + <Class name="de.danoeh.antennapod.activity.MainActivity"/> + </Match> + <Match> + <Bug pattern="NP_NULL_ON_SOME_PATH"/> + <Class name="de.danoeh.antennapod.activity.MainActivity"/> + </Match> + <Match> + <Bug pattern="NP_NULL_ON_SOME_PATH"/> + <Class name="de.danoeh.antennapod.core.feed.FeedMedia"/> + </Match> + <Match> + <Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/> + <Class name="de.danoeh.antennapod.dialog.PlaybackControlsDialog"/> + </Match> + <Match> + <Bug pattern="NP_NULL_PARAM_DEREF"/> + <Class name="de.danoeh.antennapod.core.feed.FeedMedia"/> + </Match> </FindBugsFilter> |