mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 20:30:42 +07:00
13 lines
208 B
Java
13 lines
208 B
Java
// "Convert field to local variable in method 'getFoo1'" "true-preview"
|
|
class Test {
|
|
|
|
int getFoo1(boolean f) {
|
|
if (f) {
|
|
myFoo = 1;
|
|
}
|
|
else {
|
|
myFoo = 2;
|
|
}
|
|
return myFoo;
|
|
}
|
|
} |