mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-24 22:06:25 +07:00
059257aec5
GitOrigin-RevId: 62aa30ecb2fa401534fe71fc5960863f19aa068d
14 lines
288 B
Java
14 lines
288 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) {}
|
|
} |