create local from usage: preserve comments

found by property testing

GitOrigin-RevId: 2b4aabe7f5cc3e87d8cbbb9959f778aa241fa377
This commit is contained in:
Anna Kozlova
2020-03-19 10:04:23 +01:00
committed by intellij-monorepo-bot
parent c5e8fb5b98
commit 356697425a
3 changed files with 5 additions and 10 deletions

View File

@@ -2,6 +2,7 @@
public class A {
void foo() {
String[] split = null;
//c1
String zeit = split[1]; // 2011-04-13
}

View File

@@ -2,7 +2,8 @@
public class A {
void foo() {
String[] split = null;
ze<caret>it = split[1]; // 2011-04-13
ze<caret>it//c1
= split[1]; // 2011-04-13
}
}