mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
add convert switch to if for invalid switch types (IDEA-81580)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Replace 'switch' with 'if'" "true"
|
||||
class Test {
|
||||
void foo(float f) {
|
||||
switch (f<caret>) {
|
||||
case 0:
|
||||
System.out.println(f);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user