mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
testdata to ensure no unchecked warning when not-compilable (IDEA-CR-25757)
This commit is contained in:
+6
@@ -1,6 +1,12 @@
|
||||
import java.util.List;
|
||||
|
||||
class Test {
|
||||
{
|
||||
Class foo = Object.class;
|
||||
<warning descr="Unchecked call to 'isAssignableFrom(Class<?>)' as a member of raw type 'java.lang.Class'">foo.isAssignableFrom</warning>(Object.class);
|
||||
}
|
||||
|
||||
public List<String> transform(List<List<String>> result) {
|
||||
<error descr="Incompatible types. Found: 'java.util.List<java.util.List<java.lang.String>>', required: 'java.util.List<java.lang.String>'">return result;</error>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user