mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
extract method: ensure call arguments are not changed during body substitution
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
class Test {
|
||||
void h(int i, String[] s, String[] t) {
|
||||
final String s1 = newMethod(t[i], s[x.length()]);
|
||||
final String s1 = newMethod(t[i], s[t[i].length()]);
|
||||
System.out.println(s1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user