Removed FeedCategory

This commit is contained in:
daniel oeh 2012-12-18 17:57:40 +01:00
parent 7b4fe1a99e
commit d36d6340c7
3 changed files with 0 additions and 32 deletions

View File

@ -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;
}

View File

@ -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;
}
}

View File

@ -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);