mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
testdata for IDEA-152332
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
// "Remove explicit type arguments" "false"
|
||||
class Test {
|
||||
|
||||
public void valueOfPasses() {
|
||||
assertEquals("a string", String.valueOf(this.<Obj<caret>ect>someProperty()));
|
||||
}
|
||||
|
||||
public static void assertEquals(Object expected, Object actual) {}
|
||||
|
||||
public <T> T someProperty() {
|
||||
//noinspection unchecked
|
||||
return (T) "a string";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user