Files
openide/java/java-tests/testData/refactoring/extractMethodAndDuplicatesInplace/NormalizedOnSwitchRule.java
Alexandr Suhinin 3d9770213b IDEA-275893 [extract method]: align selection for switch statement rules
GitOrigin-RevId: 00c58a19d98bdc99b95cd228b1cc2fa746e9d301
2021-08-18 10:36:21 +00:00

15 lines
317 B
Java

package test;
public class Test1 {
void test(){
String s = "sample";
switch (s) {
<selection>case "one" -> {
System.out.println("one");
System.out.println("two");
}</selection>
default -> System.out.println();
}
}
}