mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
introduce local variable intention should not go to outer anonymous class (IDEA-141716)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// "Introduce local variable" "true"
|
||||
class a {
|
||||
void a() {
|
||||
list.add(new Runnable(){
|
||||
@Override
|
||||
public void run() {
|
||||
int i = Integer.parseInt("10");
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
// "Introduce local variable" "true"
|
||||
class a {
|
||||
void a() {
|
||||
list.add(new Runnable(){
|
||||
@Override
|
||||
public void run() {
|
||||
Integer.parseInt("10")<caret>
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user