mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
records: rename parameter names of canonical constructors together with components
IDEA-CR-57849 GitOrigin-RevId: 6d820e056aa4bd37798b9a873b8d20c6adc79b9b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dd9b0bbfbc
commit
2ec87504ff
+10
@@ -0,0 +1,10 @@
|
||||
record Foo(int b<caret>ar, int foo) {
|
||||
public Foo(int bar, int foo) {
|
||||
this.bar = bar;
|
||||
this.foo = foo;
|
||||
}
|
||||
|
||||
Foo(int bar) {
|
||||
this(bar, 0);
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
record Foo(int b<caret>az, int foo) {
|
||||
public Foo(int baz, int foo) {
|
||||
this.baz = baz;
|
||||
this.foo = foo;
|
||||
}
|
||||
|
||||
Foo(int bar) {
|
||||
this(bar, 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user