summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-12-18 17:57:40 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2012-12-18 17:57:40 +0100
commitd36d6340c723056e197793f91bbb2fd09121e81a (patch)
treedb611f69c4f54fc633878038006cea91352124d6
parent7b4fe1a99e4b72987c1bf4b01898e613685ba9ca (diff)
downloadAntennaPod-d36d6340c723056e197793f91bbb2fd09121e81a.zip
Removed FeedCategory
-rw-r--r--src/de/danoeh/antennapod/feed/Feed.java9
-rw-r--r--src/de/danoeh/antennapod/feed/FeedCategory.java20
-rw-r--r--src/de/danoeh/antennapod/feed/FeedManager.java3
3 files changed, 0 insertions, 32 deletions
diff --git a/src/de/danoeh/antennapod/feed/Feed.java b/src/de/danoeh/antennapod/feed/Feed.java
index 8e93d54ee..4df9fc43f 100644
--- a/src/de/danoeh/antennapod/feed/Feed.java
+++ b/src/de/danoeh/antennapod/feed/Feed.java
@@ -30,7 +30,6 @@ public class Feed extends FeedFile {
/** Name of the author */
private String author;
private FeedImage image;
- private FeedCategory category;
private List<FeedItem> items;
/** Date of last refresh. */
private Date lastUpdate;
@@ -274,14 +273,6 @@ public class Feed extends FeedFile {
this.image = image;
}
- public FeedCategory getCategory() {
- return category;
- }
-
- public void setCategory(FeedCategory category) {
- this.category = category;
- }
-
public List<FeedItem> getItems() {
return items;
}
diff --git a/src/de/danoeh/antennapod/feed/FeedCategory.java b/src/de/danoeh/antennapod/feed/FeedCategory.java
deleted file mode 100644
index fc3d8d79b..000000000
--- a/src/de/danoeh/antennapod/feed/FeedCategory.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package de.danoeh.antennapod.feed;
-
-public class FeedCategory extends FeedComponent{
- protected String name;
-
- public FeedCategory(String name) {
- super();
- this.name = name;
- }
-
- public String getName() {
- return name;
- }
-
-
-
-
-
-
-}
diff --git a/src/de/danoeh/antennapod/feed/FeedManager.java b/src/de/danoeh/antennapod/feed/FeedManager.java
index 338574cff..855316d81 100644
--- a/src/de/danoeh/antennapod/feed/FeedManager.java
+++ b/src/de/danoeh/antennapod/feed/FeedManager.java
@@ -53,7 +53,6 @@ public class FeedManager {
private static FeedManager singleton;
private List<Feed> feeds;
- private ArrayList<FeedCategory> categories;
/** Contains all items where 'read' is false */
private List<FeedItem> unreadItems;
@@ -82,7 +81,6 @@ public class FeedManager {
private FeedManager() {
feeds = Collections.synchronizedList(new ArrayList<Feed>());
- categories = new ArrayList<FeedCategory>();
unreadItems = Collections.synchronizedList(new ArrayList<FeedItem>());
requester = DownloadRequester.getInstance();
downloadLog = new ArrayList<DownloadStatus>();
@@ -1094,7 +1092,6 @@ public class FeedManager {
public void updateArrays(Context context) {
feeds.clear();
- categories.clear();
PodDBAdapter adapter = new PodDBAdapter(context);
adapter.open();
extractFeedlistFromCursor(context, adapter);