summaryrefslogtreecommitdiff
path: root/storage/preferences
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-04-07 23:28:14 +0200
committerGitHub <noreply@github.com>2024-04-07 23:28:14 +0200
commite578f4ca93f6292f62e4b4c7fa11d17fe0b27c71 (patch)
tree383ed908c22d51fd789b8db814a4dc17e7d5dfb7 /storage/preferences
parentfc40da28a7a9146cd1e3c11e5169477ba85399c1 (diff)
downloadAntennaPod-e578f4ca93f6292f62e4b4c7fa11d17fe0b27c71.zip
CI tweaks (#7069)
- Run Checkstyle with gradle to make it easier for users - No longer needs different configuration for new code - Exclude current violations - Fix some violations that somehow couldn't be specified in the exclusion file - Print SpotBugs/Lint/Checkstly violations in GitHub format - Then the CI run gets annotated on the web UI
Diffstat (limited to 'storage/preferences')
-rw-r--r--storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java b/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java
index 7714337a3..9e7333a2e 100644
--- a/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java
+++ b/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java
@@ -41,9 +41,7 @@ import de.danoeh.antennapod.model.feed.SubscriptionsFilter;
* init() or otherwise every public method will throw an Exception
* when called.
*/
-public class UserPreferences {
- private UserPreferences(){}
-
+public abstract class UserPreferences {
private static final String TAG = "UserPreferences";
// User Interface