explicit -> var: preserve comments

found by property testing

GitOrigin-RevId: c626ca0f4039927c59e7acae5c44a38fb0d31f35
This commit is contained in:
Anna Kozlova
2020-03-19 09:32:07 +00:00
committed by intellij-monorepo-bot
parent c4d7796bb2
commit c5e8fb5b98
3 changed files with 6 additions and 3 deletions
@@ -1,7 +1,8 @@
// "Replace explicit type with 'var'" "true"
class Main {
{
@Anno var args = new String[42];
//c1
@Anno var args = new String[42];
}
}
@interface Anno {}
@@ -1,7 +1,8 @@
// "Replace explicit type with 'var'" "true"
class Main {
{
@Anno <caret>String[] args = new String[42];
@Anno <caret>String//c1
[] args = new String[42];
}
}
@interface Anno {}