mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
good code red: do not allow unchecked conversions on deeper wildcard levels (IDEA-80386)
This commit is contained in:
+1
@@ -2,6 +2,7 @@ class Test {
|
||||
static {
|
||||
Class<Test> testClass = get(Test.class);
|
||||
foo(testClass);
|
||||
Test f = foo(testClass);
|
||||
}
|
||||
|
||||
static <E> Class<E> get(Class<? super E> value) {
|
||||
|
||||
Reference in New Issue
Block a user