mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 01:34:55 +07:00
- more tests GitOrigin-RevId: 83b0ffbbeb982d269a8fc0333e6d7cf6799d1c1b
17 lines
319 B
Java
17 lines
319 B
Java
// "Replace with 'switch' expression" "false"
|
|
import java.util.*;
|
|
|
|
class Switch {
|
|
void test(Integer o) {
|
|
String s = "";
|
|
s<caret>witch (o) {
|
|
case 1:
|
|
s = "";
|
|
break;
|
|
default:
|
|
System.out.println("1");
|
|
s = o.toString(), o.toString();
|
|
break;
|
|
} ;
|
|
}
|
|
} |