mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
enable explicit type -> var for diamonds (IDEA-188771)
expand diamonds and spare on explicit type declaration
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Replace explicit type with 'var'" "true"
|
||||
class Main {
|
||||
{
|
||||
var i = new A<String>();
|
||||
}
|
||||
|
||||
static class A<T> {}
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace explicit type with 'var'" "false"
|
||||
// "Replace explicit type with 'var'" "true"
|
||||
class Main {
|
||||
{
|
||||
<caret>A<String> i = new A<>();
|
||||
|
||||
Reference in New Issue
Block a user