mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-08 21:06:52 +07:00
Also makes it so refactoring isn't called in write action and won't cause deadlocks. GitOrigin-RevId: 204fd9f9a0b2e942b1c9eb56b3d9938b2666d123
14 lines
284 B
Java
14 lines
284 B
Java
// "Convert field to local variable in constructor" "true-preview"
|
|
|
|
import javax.swing.*;
|
|
|
|
class FieldCanBeLocalTest extends JPanel {
|
|
|
|
public FieldCanBeLocalTest() {
|
|
super();
|
|
String name = "MyName";
|
|
setName(name);
|
|
}
|
|
|
|
public static void main(String[] args) {}
|
|
} |