@@ -16,7 +16,7 @@ public abstract class ListExtractor extends Extractor {
1616 /**
1717 * Get a new ListExtractor with the given nextStreamsUrl set.
1818 */
19- public ListExtractor (StreamingService service , String url , String nextStreamsUrl ) throws IOException , ExtractionException {
19+ public ListExtractor (StreamingService service , String url , String nextStreamsUrl ) throws ExtractionException {
2020 super (service , url );
2121 setNextStreamsUrl (nextStreamsUrl );
2222 }
@@ -46,7 +46,7 @@ public static class NextItemsResult {
4646 /**
4747 * The current list of items to this result
4848 */
49- public final List <? extends InfoItem > nextItemsList ;
49+ public final List <InfoItem > nextItemsList ;
5050
5151 /**
5252 * Next url to fetch more items
@@ -58,11 +58,11 @@ public static class NextItemsResult {
5858 */
5959 public final List <Throwable > errors ;
6060
61- public NextItemsResult (InfoItemCollector <? extends InfoItem , ?> collector , String nextItemsUrl ) {
61+ public NextItemsResult (InfoItemCollector collector , String nextItemsUrl ) {
6262 this (collector .getItemList (), nextItemsUrl , collector .getErrors ());
6363 }
6464
65- public NextItemsResult (List <? extends InfoItem > nextItemsList , String nextItemsUrl , List <Throwable > errors ) {
65+ public NextItemsResult (List <InfoItem > nextItemsList , String nextItemsUrl , List <Throwable > errors ) {
6666 this .nextItemsList = nextItemsList ;
6767 this .nextItemsUrl = nextItemsUrl ;
6868 this .errors = errors ;
@@ -72,7 +72,7 @@ public boolean hasMoreStreams() {
7272 return nextItemsUrl != null && !nextItemsUrl .isEmpty ();
7373 }
7474
75- public List <? extends InfoItem > getNextItemsList () {
75+ public List <InfoItem > getNextItemsList () {
7676 return nextItemsList ;
7777 }
7878
0 commit comments