mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 04:40:28 +07:00
13 lines
233 B
Java
13 lines
233 B
Java
// "Replace 'switch' with 'if'" "true"
|
|
class X {
|
|
public void doSomething( String value) {
|
|
switch<caret> ( value ) {
|
|
case "case1":
|
|
break;
|
|
case "case2":
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
} |