mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
convert parameter to local: change method signature accordingly (IDEA-88339)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
|
||||
void foo() {
|
||||
<caret>int x = 5;
|
||||
System.out.println(x);
|
||||
}
|
||||
|
||||
void bar() {
|
||||
foo();
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
|
||||
void foo(int <caret>x) {
|
||||
x = 5;
|
||||
System.out.println(x);
|
||||
}
|
||||
|
||||
void bar() {
|
||||
foo(2);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user