mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 11:36:59 +07:00
Also makes it so refactoring isn't called in write action and won't cause deadlocks. GitOrigin-RevId: 204fd9f9a0b2e942b1c9eb56b3d9938b2666d123
12 lines
227 B
Java
12 lines
227 B
Java
// "Convert field to local variable in method 'test'" "true-preview"
|
|
class Foo {
|
|
void test() {
|
|
class Bar {
|
|
|
|
void test() {
|
|
int x = 2; // could be local
|
|
System.out.println(x);
|
|
}
|
|
}
|
|
}
|
|
} |