Removed FeedCategory
This commit is contained in:
parent
7b4fe1a99e
commit
d36d6340c7
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue