Files

7 lines
140 B
Java

// "Replace 'switch' with 'if'" "true-preview"
class Test {
void test(String str) {
if (str.equals(("foo" + "bar"))) {
}
}
}