diff --git a/src/main/java/org/schabi/newpipe/extractor/ListExtractor.java b/src/main/java/org/schabi/newpipe/extractor/ListExtractor.java index cf30184b..d5d25c2b 100644 --- a/src/main/java/org/schabi/newpipe/extractor/ListExtractor.java +++ b/src/main/java/org/schabi/newpipe/extractor/ListExtractor.java @@ -16,7 +16,7 @@ public abstract class ListExtractor extends Extractor { /** * Get a new ListExtractor with the given nextStreamsUrl set. */ - public ListExtractor(StreamingService service, String url, String nextStreamsUrl) throws IOException, ExtractionException { + public ListExtractor(StreamingService service, String url, String nextStreamsUrl) throws ExtractionException { super(service, url); setNextStreamsUrl(nextStreamsUrl); } @@ -46,7 +46,7 @@ public abstract class ListExtractor extends Extractor { /** * The current list of items to this result */ - public final List nextItemsList; + public final List nextItemsList; /** * Next url to fetch more items @@ -58,11 +58,11 @@ public abstract class ListExtractor extends Extractor { */ public final List errors; - public NextItemsResult(InfoItemCollector collector, String nextItemsUrl) { + public NextItemsResult(InfoItemCollector collector, String nextItemsUrl) { this(collector.getItemList(), nextItemsUrl, collector.getErrors()); } - public NextItemsResult(List nextItemsList, String nextItemsUrl, List errors) { + public NextItemsResult(List nextItemsList, String nextItemsUrl, List errors) { this.nextItemsList = nextItemsList; this.nextItemsUrl = nextItemsUrl; this.errors = errors; @@ -72,7 +72,7 @@ public abstract class ListExtractor extends Extractor { return nextItemsUrl != null && !nextItemsUrl.isEmpty(); } - public List getNextItemsList() { + public List getNextItemsList() { return nextItemsList; }