mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
invert if: fix psi replacement (IDEA-174966)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// "Invert 'if' condition" "true"
|
||||
class Main {
|
||||
Object foo(boolean b1, boolean b2) {
|
||||
if (b1) {
|
||||
return null;
|
||||
} else if (!b<caret>2) {
|
||||
return "a";
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user