move on to version 0.13.0, and made ListCollector only accept InfoItemExtracto

This commit is contained in:
Christian Schabesberger 2018-03-25 16:08:14 +02:00
parent f787b375e5
commit f2067338db
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ allprojects {
sourceCompatibility = 1.7
targetCompatibility = 1.7
version 'v0.12.0'
version 'v0.13.0'
repositories {
jcenter()

View File

@ -27,7 +27,7 @@ import java.util.List;
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
*/
public abstract class InfoItemsCollector<I extends InfoItem, E> implements Collector<I,E> {
public abstract class InfoItemsCollector<I extends InfoItem, E extends InfoItemExtractor> implements Collector<I,E> {
private final List<I> itemList = new ArrayList<>();
private final List<Throwable> errors = new ArrayList<>();