Refactor
This commit is contained in:
parent
7de16ce80c
commit
a584ad83d5
|
@ -206,7 +206,7 @@ public class GroovyPad extends JFrame {
|
||||||
try {
|
try {
|
||||||
currentRunner.get(2, TimeUnit.SECONDS);
|
currentRunner.get(2, TimeUnit.SECONDS);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.log(Level.WARNING, e, e::getMessage);
|
debug.log(Level.WARNING, e, e::getMessage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,6 +78,10 @@ public abstract class AbstractEpisodeListProvider implements EpisodeListProvider
|
||||||
public SeriesInfo seriesInfo;
|
public SeriesInfo seriesInfo;
|
||||||
public Episode[] episodeList;
|
public Episode[] episodeList;
|
||||||
|
|
||||||
|
public SeriesData() {
|
||||||
|
// used by serializer
|
||||||
|
}
|
||||||
|
|
||||||
public SeriesData(SeriesInfo seriesInfo, List<Episode> episodeList) {
|
public SeriesData(SeriesInfo seriesInfo, List<Episode> episodeList) {
|
||||||
this.seriesInfo = seriesInfo;
|
this.seriesInfo = seriesInfo;
|
||||||
this.episodeList = episodeList.toArray(new Episode[episodeList.size()]);
|
this.episodeList = episodeList.toArray(new Episode[episodeList.size()]);
|
||||||
|
|
Loading…
Reference in New Issue