LVTI: var -> explicit type (IDEA-179177)

This commit is contained in:
Anna Kozlova
2017-09-26 16:09:46 +02:00
parent f1028073cb
commit 0ca243309f
15 changed files with 214 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
// "Replace 'var' with explicit type" "true"
class Main {
{
<caret>var b = java.util.Arrays.asList("", "").get(0);
final int i = b.compareTo("");
}
}