mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
Java: Support parameter folding in parametrized duplicates of the extracted method (IDEA-179924)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import java.util.List;
|
||||
|
||||
class Test {
|
||||
void foo(String[] a, List<String> b) {
|
||||
for (int i = 0; i < a.length; i++) {
|
||||
<selection>System.out.println(a[i]);</selection>
|
||||
}
|
||||
|
||||
for (int i = 0; i < b.size(); i++) {
|
||||
System.out.println(b.get(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user