Added set codes info in download window;

This commit is contained in:
Oleg Agafonov 2018-12-22 00:01:37 +04:00
parent 20a3b0b777
commit 0c18f96ce7
5 changed files with 19 additions and 11 deletions

View file

@ -243,11 +243,15 @@ public class DownloadPicturesService extends DefaultBoundedRangeModel implements
cal.setTime(exp.getReleaseDate());
String year = String.valueOf(cal.get(Calendar.YEAR));
return exp.getName() + " (" + exp.getCode() + ", " + year + ")";
/*
if (!exp.getName().contains(year)) {
return exp.getName() + " (" + year + ")";
} else {
return exp.getName();
}
*/
}
private ExpansionSet findSetByNameWithYear(String name) {