mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
14 lines
234 B
Java
14 lines
234 B
Java
// "Convert field to local variable in method 'getFoo1'" "true-preview"
|
|
class Test {
|
|
private int my<caret>Foo;
|
|
|
|
int getFoo1(boolean f) {
|
|
if (f) {
|
|
myFoo = 1;
|
|
}
|
|
else {
|
|
myFoo = 2;
|
|
}
|
|
return myFoo;
|
|
}
|
|
} |