mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-23 19:42:48 +07:00
8560c6a5d1
GitOrigin-RevId: 571a82f66623887c1b5008963df842b2597c58c9
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;
|
|
}
|
|
} |