diff options
author | Taco <SkytkRSfan3895@gmail.com> | 2024-04-05 20:28:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-05 19:28:36 +0200 |
commit | b6a4049ff4a792cbed826320064ccca72fc3e6e5 (patch) | |
tree | 83b8b52a1954c2b1374ee5b691c7bd0e00009c71 /config | |
parent | 92ab575b150ab49ca85e0ac994558142e49c9e68 (diff) | |
download | AntennaPod-b6a4049ff4a792cbed826320064ccca72fc3e6e5.zip |
Spotbugs cleanup (#6968)
Remove unused SpotBugs rules.
Fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD, ICAST_INTEGER_MULTIPLY_CAST_TO_LONG, NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION, OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE
Diffstat (limited to 'config')
-rw-r--r-- | config/spotbugs/exclude.xml | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/config/spotbugs/exclude.xml b/config/spotbugs/exclude.xml index 35f0881b7..d49d5280b 100644 --- a/config/spotbugs/exclude.xml +++ b/config/spotbugs/exclude.xml @@ -68,14 +68,6 @@ <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/> <Class name="de.danoeh.antennapod.ui.home.sections.EpisodesSurpriseSection"/> </Match> - <Match> - <Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/> - <Class name="de.danoeh.antennapod.playback.base.PlaybackServiceMediaPlayer"/> - </Match> - <Match> - <Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/> - <Class name="de.danoeh.antennapod.playback.base.PlaybackServiceMediaPlayer$PSMPInfo"/> - </Match> <Match><Class name="de.danoeh.antennapod.core.ClientConfig"/></Match> @@ -84,15 +76,10 @@ <Match><Bug pattern="DMI_RANDOM_USED_ONLY_ONCE"/></Match> <Match><Bug pattern="EI_EXPOSE_REP"/></Match> <Match><Bug pattern="EI_EXPOSE_REP2"/></Match> - <Match><Bug pattern="HE_EQUALS_NO_HASHCODE"/></Match> <Match><Bug pattern="HE_EQUALS_USE_HASHCODE"/></Match> - <Match><Bug pattern="ICAST_INTEGER_MULTIPLY_CAST_TO_LONG"/></Match> <Match><Bug pattern="IS2_INCONSISTENT_SYNC"/></Match> - <Match><Bug pattern="NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION"/></Match> <Match><Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/></Match> - <Match><Bug pattern="OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE"/></Match> <Match><Bug pattern="OS_OPEN_STREAM"/></Match> - <Match><Bug pattern="OS_OPEN_STREAM_EXCEPTION_PATH"/></Match> <Match><Bug pattern="RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN"/></Match> <Match><Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/></Match> <Match><Bug pattern="RV_RETURN_VALUE_IGNORED"/></Match> @@ -100,9 +87,7 @@ <Match><Bug pattern="SE_NO_SERIALVERSIONID"/></Match> <Match><Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED"/></Match> <Match><Bug pattern="SF_SWITCH_NO_DEFAULT"/></Match> - <Match><Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON"/></Match> <Match><Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/></Match> - <Match><Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR"/></Match> <Match><Bug pattern="VA_FORMAT_STRING_USES_NEWLINE"/></Match> <Match><Bug pattern="WMI_WRONG_MAP_ITERATOR"/></Match> </FindBugsFilter> |