Removed unnecessary methods, added standard constructor
This commit is contained in:
parent
b84c933bf9
commit
09a3957f60
|
@ -8,6 +8,9 @@ public abstract class Chapter extends FeedComponent {
|
|||
protected FeedItem item;
|
||||
protected String link;
|
||||
|
||||
public Chapter() {
|
||||
}
|
||||
|
||||
public Chapter(long start) {
|
||||
super();
|
||||
this.start = start;
|
||||
|
|
|
@ -7,26 +7,6 @@ public class SimpleChapter extends Chapter {
|
|||
super(start, title, item, link);
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public FeedItem getItem() {
|
||||
return item;
|
||||
}
|
||||
|
||||
public long getStart() {
|
||||
return start;
|
||||
}
|
||||
|
||||
public void setItem(FeedItem item) {
|
||||
this.item = item;
|
||||
}
|
||||
|
||||
public String getLink() {
|
||||
return link;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getChapterType() {
|
||||
return CHAPTERTYPE_SIMPLECHAPTER;
|
||||
|
|
Loading…
Reference in New Issue