mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
Fixes IDEA-199499 Improve "Replace 'switch' with 'if'" action and make it a quick-fix for "Switch has too few branches" Now default is not counted as branch in SwitchStatementWithTooFewBranches
9 lines
178 B
Java
9 lines
178 B
Java
// "Unwrap 'switch' statement" "true"
|
|
class X {
|
|
String test(char c) {
|
|
if (c == 'a') {
|
|
System.out.println("foo");
|
|
}
|
|
System.out.println("oops");
|
|
}
|
|
} |