Files
openide/java/java-tests/testData/refactoring/extractMethodAndDuplicatesInplace/AvoidChangeSignatureForLocalRefsInCandidate.java
Alexandr Suhinin bc709cf5e1 [extract duplicates] CR-17069: add test
GitOrigin-RevId: 7afa3d926701d11f1daddaeab43b300fd02a2a5f
2021-11-16 08:54:37 +00:00

14 lines
311 B
Java

public class Test{
void test1(){
<selection>String local = "local";
System.out.println("one");
System.out.println("two");</selection>
}
void test2(){
String local = "local";
System.out.println("one");
System.out.println(local.toLowerCase());
}
}