mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
11 lines
215 B
Java
11 lines
215 B
Java
// "Replace 'switch' with 'if'" "true"
|
|
class Test {
|
|
void foo(Object e) {
|
|
<caret>switch(e.getClass()) {
|
|
case RuntimeException.class:
|
|
break;
|
|
case IOException.class:
|
|
break;
|
|
}
|
|
}
|
|
} |