mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
DeleteSwitchLabelFix: check again whether the whole branch should be removed when fix is actually applied
Fixes IDEA-200021 Red code after applying 'Fix all 'Constant conditions and exception' problems in the file' with multiple case labels
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Fix all 'Constant conditions & exceptions' problems in file" "true"
|
||||
class Main {
|
||||
void t() {
|
||||
int i = 5;
|
||||
switch(i) {
|
||||
// Apply 'Fix all problems in the file'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user