good code red:do not override calculated subst with raw (IDEA-67680)

This commit is contained in:
anna
2012-10-19 12:29:54 +02:00
parent 85fcac7fc0
commit a444dcfa01
7 changed files with 13 additions and 9 deletions
@@ -5,7 +5,7 @@ class A<D> {
}
<T extends A> void foo1(A.C<error descr="Type arguments given on a raw type"><Integer></error> x) {
<error descr="Incompatible types. Found: 'java.lang.Object', required: 'java.lang.Integer'">Integer bar = x.bar();</error>
Integer bar = x.bar();
}
<T extends A> void foo2(A<String>.C<Integer> x) {