mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
create compact constructor light parameter list, make parameter list optional
GitOrigin-RevId: a8f67df9897d8adfece17d6d376c40776f25476d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
338430777b
commit
158abe45b8
@@ -36,16 +36,15 @@ record NotInitialized(int x,
|
||||
}
|
||||
}
|
||||
record TwoCompacts(int x, int y) {
|
||||
<error descr="'TwoCompacts()' is already defined in 'TwoCompacts'">public TwoCompacts </error>{}
|
||||
<error descr="'TwoCompacts()' is already defined in 'TwoCompacts'">public TwoCompacts </error>{}
|
||||
<error descr="'TwoCompacts(int, int)' is already defined in 'TwoCompacts'">public TwoCompacts</error> {}
|
||||
<error descr="'TwoCompacts(int, int)' is already defined in 'TwoCompacts'">public TwoCompacts</error> {}
|
||||
}
|
||||
record CompactAndCanonical(int x, int y) {
|
||||
// TODO
|
||||
public CompactAndCanonical(int x, int y) {
|
||||
<error descr="'CompactAndCanonical(int, int)' is already defined in 'CompactAndCanonical'">public CompactAndCanonical(int x, int y)</error> {
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
}
|
||||
public CompactAndCanonical {
|
||||
<error descr="'CompactAndCanonical(int, int)' is already defined in 'CompactAndCanonical'">public CompactAndCanonical</error> {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user