mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
LVTI: explicit variable type is redundant (IDEA-179177)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// "Replace explicit type with 'var'" "true"
|
||||
class Main {
|
||||
{
|
||||
<caret>String str = m("hello, world");
|
||||
}
|
||||
|
||||
static <T> T m(T t) {return t;}
|
||||
}
|
||||
Reference in New Issue
Block a user