mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
extract method duplicates: distinguish method overloads (IDEA-97777)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public class Test {
|
||||
public void myTest(List list, String s1, String s2) {
|
||||
}
|
||||
|
||||
public void myTest(Collection list, String s1, String s2) {
|
||||
}
|
||||
|
||||
public void usage() {
|
||||
List list = new ArrayList();
|
||||
String aa = "AA";
|
||||
String bb = "bb";
|
||||
myTest(list, aa, bb);
|
||||
Collection col = new ArrayList();
|
||||
<selection>myTest(col, aa, bb);</selection>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user