good code red: do not allow unchecked conversions on deeper wildcard levels (IDEA-80386)

This commit is contained in:
anna
2012-04-03 19:19:44 +02:00
parent 6719c86450
commit a4e23d3546
4 changed files with 67 additions and 2 deletions
@@ -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) {