This commit is contained in:
Reinhard Pointner 2016-11-01 21:20:08 +08:00
parent 7de16ce80c
commit a584ad83d5
2 changed files with 5 additions and 1 deletions

View File

@ -206,7 +206,7 @@ public class GroovyPad extends JFrame {
try {
currentRunner.get(2, TimeUnit.SECONDS);
} catch (Exception e) {
log.log(Level.WARNING, e, e::getMessage);
debug.log(Level.WARNING, e, e::getMessage);
}
}
}

View File

@ -78,6 +78,10 @@ public abstract class AbstractEpisodeListProvider implements EpisodeListProvider
public SeriesInfo seriesInfo;
public Episode[] episodeList;
public SeriesData() {
// used by serializer
}
public SeriesData(SeriesInfo seriesInfo, List<Episode> episodeList) {
this.seriesInfo = seriesInfo;
this.episodeList = episodeList.toArray(new Episode[episodeList.size()]);