From 1c97da8b51b36101be16a0feb24768648e18656e Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Sat, 20 Jan 2018 15:35:00 +0100 Subject: [PATCH] roleback fix warning of generics (broke frontend compartiblity actual fix another actual fix --- .../org/schabi/newpipe/extractor/ListExtractor.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/schabi/newpipe/extractor/ListExtractor.java b/src/main/java/org/schabi/newpipe/extractor/ListExtractor.java index cf30184bf..d5d25c2bb 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; }