mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Java: Fixed the intention "Invert 'if' condition" in the case of nested 'if' without braces (IDEA-167957)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Invert 'if' condition" "true"
|
||||
class Main {
|
||||
boolean method(boolean a, boolean b) {
|
||||
for (int i = 1; i < 10; i++)
|
||||
<caret>if (!b)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user