mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
EA-38866 - AIOOBE: ParameterCanBeLocalInspection$ConvertParameterToLocalQuickFix.applyChanges
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
|
||||
void foo(int k) {
|
||||
int x = 5;
|
||||
System.out.println(x);
|
||||
}
|
||||
|
||||
void bar() {
|
||||
foo(42);
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
|
||||
void foo(int <caret>x, int k) {
|
||||
x = 5;
|
||||
System.out.println(x);
|
||||
}
|
||||
|
||||
void bar() {
|
||||
foo(2, 42);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user