mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
Refactor
This commit is contained in:
parent
7de16ce80c
commit
a584ad83d5
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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()]);
|
||||
|
Loading…
Reference in New Issue
Block a user