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