mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
create constructor parameter from field: suggest to choose fields to create parameters from (IDEA-76417);
insert parameters in "fields" order (IDEA-81634)
This commit is contained in:
+3
-3
@@ -4,11 +4,11 @@ class A {
|
||||
private int j;
|
||||
|
||||
A(int field) {
|
||||
this(0, field);
|
||||
this(field, 0);
|
||||
}
|
||||
|
||||
A(int j, int field) {
|
||||
this.j = j;
|
||||
A(int field, int j) {
|
||||
this.field = field;
|
||||
this.j = j;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user