mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Fixed FCollection: a Collection<? extends T> can only be turned into a List<? extends T>
This commit is contained in:
@@ -328,7 +328,7 @@ public class FCollection<T> implements List<T>, Set<T>, FCollectionView<T>, Clon
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
final List<T> list;
|
final List<? extends T> list;
|
||||||
if (c instanceof List) {
|
if (c instanceof List) {
|
||||||
list = (List<T>) c;
|
list = (List<T>) c;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user