invert boolean: leave expressions with unused return value untouched (IDEA-56568 )

This commit is contained in:
anna
2010-07-19 22:45:47 +04:00
parent 8d13f7d3ea
commit 9ebf19b75e
4 changed files with 22 additions and 1 deletions
@@ -0,0 +1,9 @@
class C {
boolean f<caret>oo() {
return false;
}
void bar() {
foo();
}
}
@@ -0,0 +1,9 @@
class C {
boolean fooInverted() {
return true;
}
void bar() {
fooInverted();
}
}