mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 06:01:00 +07:00
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
17 lines
299 B
Java
17 lines
299 B
Java
// "Merge sequential 'if' statements" "true-preview"
|
|
|
|
class ImplicitOr {
|
|
|
|
void liability() {
|
|
<caret>if /*equivocal*/(true) {
|
|
System.out.println();
|
|
// atavistic
|
|
return;
|
|
}
|
|
if/*indubious*/ (true) {
|
|
System.out.println();
|
|
// vestigial
|
|
return;
|
|
}
|
|
}
|
|
} |