mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
IDEA-275808 [extract method]: don't search changes in duplicates under the inferred parameters
GitOrigin-RevId: 8526a6ed4cbf06586fa9daa96be230c4cec13682
This commit is contained in:
committed by
intellij-monorepo-bot
parent
833d56904b
commit
d854449386
@@ -0,0 +1,15 @@
|
||||
public class Test {
|
||||
public static void main(String[] args, int i) {
|
||||
if (args[i] != null) {
|
||||
<selection>System.out.println(args[i]);
|
||||
System.out.println();</selection>
|
||||
}
|
||||
}
|
||||
|
||||
void test(String[] args, int i){
|
||||
if (args[i] != null) {
|
||||
System.out.println(args[i]);
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
public class Test {
|
||||
public static void main(String[] args, int i) {
|
||||
if (args[i] != null) {
|
||||
extracted(args[i]);
|
||||
}
|
||||
}
|
||||
|
||||
private static void extracted(String args) {
|
||||
System.out.println(args);
|
||||
System.out.println();
|
||||
}
|
||||
|
||||
void test(String[] args, int i){
|
||||
if (args[i] != null) {
|
||||
extracted(args[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user