mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
take into account container class type parameters: unchecked warnings
This commit is contained in:
+11
@@ -36,6 +36,17 @@ class b {
|
||||
}
|
||||
}
|
||||
|
||||
class aOuter<E> {
|
||||
|
||||
class Inner {
|
||||
void f(aOuter<E>.Inner t) { t.hashCode();}
|
||||
}
|
||||
|
||||
void f(aOuter.Inner raw) {
|
||||
<warning descr="Unchecked call to 'f(Inner)' as a member of raw type 'aOuter.Inner'">raw.f</warning>(raw);
|
||||
}
|
||||
}
|
||||
|
||||
class List<T> {
|
||||
<V> V[] toArray (V[] vs) { return vs; }
|
||||
void add(T t) {
|
||||
|
||||
Reference in New Issue
Block a user