mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
generate wildcard type to ensure valid assignment (IDEA-148644)
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
import java.util.*;
|
||||
class Test{
|
||||
private List<String> myP1;
|
||||
private List<? extends String> myP1;
|
||||
|
||||
<T extends String> void f(List<T> p1){
|
||||
myP1 = p1;
|
||||
|
||||
Reference in New Issue
Block a user