set feedfiletype in DownloadStatus contructor

This commit is contained in:
daniel oeh 2012-09-23 16:47:40 +02:00
parent 92feabbb5d
commit 0d9233d67a
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@ public class DownloadStatus {
public DownloadStatus(FeedFile feedfile, String title) {
this.feedfile = feedfile;
if (feedfile != null) {
feedfileType = feedfile.getTypeAsInt();
}
this.title = title;
}