removed unused code

This commit is contained in:
Reinhard Pointner 2007-12-25 00:03:06 +00:00
parent a9b6920507
commit 3f2d16d03d
1 changed files with 5 additions and 28 deletions

View File

@ -4,17 +4,14 @@ package net.sourceforge.filebot.web;
public class Episode { public class Episode {
private String showname; private String showName;
private String numberOfSeason; private String numberOfSeason;
private String numberOfEpisode; private String numberOfEpisode;
private String title; private String title;
public Episode(String showname, String numberOfSeason, String numberOfEpisode, String title) { public Episode(String showname, String numberOfSeason, String numberOfEpisode, String title) {
this.showname = showname; this.showName = showname;
this.numberOfSeason = numberOfSeason; this.numberOfSeason = numberOfSeason;
this.numberOfEpisode = numberOfEpisode; this.numberOfEpisode = numberOfEpisode;
this.title = title; this.title = title;
@ -31,28 +28,13 @@ public class Episode {
} }
public void setNumberOfEpisode(String numberOfEpisode) {
this.numberOfEpisode = numberOfEpisode;
}
public String getNumberOfSeason() { public String getNumberOfSeason() {
return numberOfSeason; return numberOfSeason;
} }
public void setNumberOfSeason(String numberOfSeason) { public String getShowName() {
this.numberOfSeason = numberOfSeason; return showName;
}
public String getShowname() {
return showname;
}
public void setShowname(String showname) {
this.showname = showname;
} }
@ -61,16 +43,11 @@ public class Episode {
} }
public void setTitle(String title) {
this.title = title;
}
@Override @Override
public String toString() { public String toString() {
StringBuffer sb = new StringBuffer(); StringBuffer sb = new StringBuffer();
sb.append(showname + " - "); sb.append(showName + " - ");
if (numberOfSeason != null) if (numberOfSeason != null)
sb.append(numberOfSeason + "x"); sb.append(numberOfSeason + "x");