introduce variable: case with unresolved reference and replace all

EA-90834 - AIOOBE: AbstractInplaceIntroducer.lambda$restoreState$
This commit is contained in:
Anna Kozlova
2017-06-15 20:51:20 +03:00
parent 0f39932f41
commit 1298560a61
5 changed files with 30 additions and 1 deletions
@@ -0,0 +1,9 @@
class Demo {
void d(String s){
System.out.println(<caret>s);
System.out.println(s);
System.out.println(s1);
}
}
@@ -0,0 +1,10 @@
class Demo {
void d(String s){
String expr = s;
System.out.println(expr);
System.out.println(expr);
System.out.println(expr);
}
}