unchecked warning (IDEA-99357)

This commit is contained in:
Anna Kozlova
2013-01-21 15:08:53 +04:00
parent 83226fdc9d
commit 85cc736b86
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
class Test {
public static void main(String[] args) {
Foo f = new Foo();
System.out.println(f.get());
}
}
class Foo<<warning descr="Type parameter 'T' is never used">T</warning>> {
public <T1> T1 get() {
return null;
}
}