description for flip-if

This commit is contained in:
Max Medvedev
2013-05-06 09:17:48 +04:00
parent 51bec6ba28
commit b6f9640a91
2 changed files with 10 additions and 6 deletions
@@ -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>
}
@@ -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>
}