mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
invert if: don't reformat when if was removed completely
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// "Invert 'if' condition" "true"
|
||||
class A {
|
||||
int test(int x) {
|
||||
return switch (x) {
|
||||
case 1:
|
||||
if (Math.ran<caret>dom() > 0.5) {
|
||||
br
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user