invert boolean: invert assignment if used as expression (IDEA-152284)

This commit is contained in:
Anna.Kozlova
2018-01-12 16:16:33 +01:00
parent fb15a78207
commit 87d3106a1a
7 changed files with 78 additions and 16 deletions
@@ -0,0 +1,10 @@
class C {
boolean f<caret>oo() {
return false;
}
void bar() {
boolean a, b;
a = b = foo();
}
}