mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-28 20:36:37 +07:00
07e6ec4678
GitOrigin-RevId: 1d9b8d6e4acab1a48e99370cf8a296e84309d7f2
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) {}
|
|
} |