mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
extract method: check qualifiers correspondence (IDEA-98515)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import java.util.*;
|
||||
class Test {
|
||||
|
||||
public void method() {
|
||||
String a = "A";
|
||||
newMethod(a);
|
||||
|
||||
ArrayList<String> listB = new ArrayList<String>();
|
||||
ArrayList<String> listC = new ArrayList<String>();
|
||||
listB.add("B");
|
||||
listC.add("C");
|
||||
}
|
||||
|
||||
private void newMethod(String a) {
|
||||
ArrayList<String> listA = new ArrayList<String>();
|
||||
listA.add(a);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user