mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +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,10 @@
|
||||
// "Invert 'if' condition" "true"
|
||||
class Main {
|
||||
boolean method(boolean a, boolean b) {
|
||||
if (a)
|
||||
<caret>if (!b)
|
||||
return true; // comment
|
||||
int x = 1;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user