mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 20:07:01 +07:00
Otherwise, it's hard to make it compatible with new-style unused inspection (IDEA-349083) Also: remove empty line in constructor body automatically GitOrigin-RevId: ab1cd08352d9f0168b86acc1d4b87cb89cfe7d69
25 lines
551 B
Java
25 lines
551 B
Java
// "Create field for parameter 'id'" "true-preview"
|
|
|
|
class Person {
|
|
private String __fname;
|
|
private final int <caret>myId;
|
|
private String __lname;
|
|
private String __street;
|
|
|
|
|
|
public Person ( String i_lname, String i_fname, String i_street)
|
|
{
|
|
__lname = i_lname;
|
|
__fname = i_fname;
|
|
__street = i_street;
|
|
}
|
|
|
|
public Person ( int id, String i_lname, String i_fname, String i_street)
|
|
{
|
|
myId = id;
|
|
__lname = i_lname;
|
|
__fname = i_fname;
|
|
__street = i_street;
|
|
}
|
|
|
|
} |