mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
extract method: fix name conflicts at method call site
This commit is contained in:
@@ -12,8 +12,8 @@ class Main {
|
||||
public static Result doIt(String name) {
|
||||
Result result;
|
||||
|
||||
Result result = newMethod(name);
|
||||
if (result != null) return result;
|
||||
Result result1 = newMethod(name);
|
||||
if (result1 != null) return result1;
|
||||
|
||||
result = new Result("Name is " + name);
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user