mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
change test data to be more realistic
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
// "Convert to local" "true"
|
||||
class Test {
|
||||
|
||||
int getFoo1() {
|
||||
int getFoo1(boolean f) {
|
||||
int myFoo;
|
||||
while (true) myFoo = 1;
|
||||
if (f) {
|
||||
myFoo = 1;
|
||||
}
|
||||
else {
|
||||
myFoo = 2;
|
||||
}
|
||||
return myFoo;
|
||||
}
|
||||
}
|
||||
@@ -2,8 +2,13 @@
|
||||
class Test {
|
||||
private int my<caret>Foo;
|
||||
|
||||
int getFoo1() {
|
||||
while (true) myFoo = 1;
|
||||
int getFoo1(boolean f) {
|
||||
if (f) {
|
||||
myFoo = 1;
|
||||
}
|
||||
else {
|
||||
myFoo = 2;
|
||||
}
|
||||
return myFoo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user