mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-15 20:26:04 +07:00
SplitConditionUtil#createAndAnd: fix corner cases with ending line comment
Review ID: IDEA-CR-31527
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
class C {
|
||||
void foo() {
|
||||
if (a) {
|
||||
if (b) {
|
||||
call();
|
||||
} // foo
|
||||
else if (c) {
|
||||
otherCall();
|
||||
} // bar
|
||||
else {
|
||||
thirdCall();
|
||||
} // baz
|
||||
} else {
|
||||
fourthCall();
|
||||
} // qux
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user