[MediaCCC] Use final when possible, ide refactorings
Refactorings on `throws` clause
This commit is contained in:
parent
af5b8b1915
commit
fcb9b6f855
|
@ -72,8 +72,8 @@ public class MediaCCCConferenceExtractor extends ChannelExtractor {
|
|||
@Nonnull
|
||||
@Override
|
||||
public InfoItemsPage<StreamInfoItem> getInitialPage() {
|
||||
StreamInfoItemsCollector collector = new StreamInfoItemsCollector(getServiceId());
|
||||
JsonArray events = conferenceData.getArray("events");
|
||||
final StreamInfoItemsCollector collector = new StreamInfoItemsCollector(getServiceId());
|
||||
final JsonArray events = conferenceData.getArray("events");
|
||||
for (int i = 0; i < events.size(); i++) {
|
||||
collector.commit(new MediaCCCStreamInfoItemExtractor(events.getObject(i)));
|
||||
}
|
||||
|
|
|
@ -283,7 +283,7 @@ public class MediaCCCStreamExtractor extends StreamExtractor {
|
|||
|
||||
@Nonnull
|
||||
@Override
|
||||
public List<String> getTags() throws ParsingException {
|
||||
public List<String> getTags() {
|
||||
return Arrays.asList(data.getArray("tags").toArray(new String[0]));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue