Load contavariantly projected collections in Java as mutable

#KT-3068 Fixed
This commit is contained in:
Denis Zharkov
2016-03-18 15:07:43 +03:00
parent e54b25a35a
commit 838fcf9a57
8 changed files with 23 additions and 12 deletions
@@ -6,4 +6,8 @@ public class MethodWithMappedClasses {
public <T> void copy(List<? super T> dest, List<T> src) {
throw new UnsupportedOperationException();
}
public <T> void copyMap(Map<String, ? super T> dest, Map<String, T> src) {
throw new UnsupportedOperationException();
}
}