mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 17:10:44 +07:00
invert boolean: invert assignment if used as expression (IDEA-152284)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class C {
|
||||
boolean f<caret>oo() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void bar() {
|
||||
boolean a, b;
|
||||
a = b = foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user