From cfd3ab3500b7f77f50d3d55ede63907fc2e33c5f Mon Sep 17 00:00:00 2001 From: Mauricio Colli Date: Sat, 13 Jan 2018 17:08:48 -0200 Subject: [PATCH] Fix warning of generics --- .../java/org/schabi/newpipe/extractor/ListExtractor.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/schabi/newpipe/extractor/ListExtractor.java b/src/main/java/org/schabi/newpipe/extractor/ListExtractor.java index fd30356e7..cf30184bf 100644 --- a/src/main/java/org/schabi/newpipe/extractor/ListExtractor.java +++ b/src/main/java/org/schabi/newpipe/extractor/ListExtractor.java @@ -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; }