mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
description for flip-if
This commit is contained in:
+5
-3
@@ -1,4 +1,6 @@
|
||||
public class X {
|
||||
void f(a, b) {
|
||||
if (b &&a) return;
|
||||
if (cond2) {
|
||||
<spot>doSomething2()</spot>
|
||||
}
|
||||
else if (cond1) {
|
||||
<spot>doSomething1()</spot>
|
||||
}
|
||||
+5
-3
@@ -1,4 +1,6 @@
|
||||
public class X {
|
||||
void f(a, b) {
|
||||
if (<spot>a && b</spot>) return;
|
||||
if (cond1) {
|
||||
<spot>doSomething1()</spot>
|
||||
}
|
||||
else if (cond2) {
|
||||
<spot>doSomething2()</spot>
|
||||
}
|
||||
Reference in New Issue
Block a user