mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inplace introduce variable: rename variable introduced inside loop without braces (IDEA-135083)
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
class C {
|
||||
{
|
||||
Runnable r = () -> System.out.println("extrac<caret>t me");
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class C {
|
||||
{
|
||||
Runnable r = () -> {
|
||||
String expr = "extract me";
|
||||
System.out.println(expr);
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user