Files
openide/java/java-tests/testData/inspection/switchExpressionBackwardMigration/beforeSwitchOldStyle.java
T

13 lines
235 B
Java

// "Replace with old style 'switch' statement" "false"
import java.util.*;
class SwitchExpressionMigration {
int foo(int n) {
return switch<caret> (n) {
case 1:
break 1;
default:
break 0;
};
}
}