summaryrefslogtreecommitdiff
path: root/model/src
diff options
context:
space:
mode:
authorTaco <SkytkRSfan3895@gmail.com>2024-03-04 17:07:28 -0500
committerGitHub <noreply@github.com>2024-03-04 23:07:28 +0100
commit40da13e014a5b0c6e31b0234e31dac8c55473262 (patch)
treee3486b010b88415b83ae1c0467e3ce2890772fb6 /model/src
parentc06a3a6d27c61910e06041c70d9113a7ef4c4c5f (diff)
downloadAntennaPod-40da13e014a5b0c6e31b0234e31dac8c55473262.zip
Clean up some dead code (#6952)
Diffstat (limited to 'model/src')
-rw-r--r--model/src/main/java/de/danoeh/antennapod/model/feed/FeedItem.java4
-rw-r--r--model/src/main/java/de/danoeh/antennapod/model/feed/SortOrder.java8
2 files changed, 0 insertions, 12 deletions
diff --git a/model/src/main/java/de/danoeh/antennapod/model/feed/FeedItem.java b/model/src/main/java/de/danoeh/antennapod/model/feed/FeedItem.java
index e078d755a..25ea9330c 100644
--- a/model/src/main/java/de/danoeh/antennapod/model/feed/FeedItem.java
+++ b/model/src/main/java/de/danoeh/antennapod/model/feed/FeedItem.java
@@ -333,10 +333,6 @@ public class FeedItem implements Serializable {
}
}
- public enum State {
- UNREAD, IN_PROGRESS, READ, PLAYING
- }
-
public long getFeedId() {
return feedId;
}
diff --git a/model/src/main/java/de/danoeh/antennapod/model/feed/SortOrder.java b/model/src/main/java/de/danoeh/antennapod/model/feed/SortOrder.java
index 08504b445..f6c90341a 100644
--- a/model/src/main/java/de/danoeh/antennapod/model/feed/SortOrder.java
+++ b/model/src/main/java/de/danoeh/antennapod/model/feed/SortOrder.java
@@ -72,12 +72,4 @@ public enum SortOrder {
public static String toCodeString(@Nullable SortOrder sortOrder) {
return sortOrder != null ? Integer.toString(sortOrder.code) : null;
}
-
- public static SortOrder[] valuesOf(String[] stringValues) {
- SortOrder[] values = new SortOrder[stringValues.length];
- for (int i = 0; i < stringValues.length; i++) {
- values[i] = SortOrder.valueOf(stringValues[i]);
- }
- return values;
- }
}