Fixed FCollection: a Collection<? extends T> can only be turned into a List<? extends T>

This commit is contained in:
Hanmac
2016-05-08 09:36:59 +00:00
parent 2eb68946dd
commit b0a6f9ffdb

View File

@@ -328,7 +328,7 @@ public class FCollection<T> implements List<T>, Set<T>, FCollectionView<T>, Clon
return false;
}
final List<T> list;
final List<? extends T> list;
if (c instanceof List) {
list = (List<T>) c;
} else {