mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
invert boolean: leave expressions with unused return value untouched (IDEA-56568 )
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user