mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
EA-76495 (IOE: PsiJavaParserFacadeImpl.createStatementFromText)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Replace 'switch' with 'if'" "true"
|
||||
class Test {
|
||||
void foo(Object e) {
|
||||
Class<?> i = e.getClass();
|
||||
if (i.equals(RuntimeException.class)) {
|
||||
} else if (i.equals(IOException.class)) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user