mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
[extract method] fork tests
GitOrigin-RevId: 3aae5c738d48c38144f6a78c36738121831ae5a5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2f3882a96f
commit
0e860160e5
@@ -0,0 +1,19 @@
|
||||
public class OutputVariableDuplicate {
|
||||
String foo() {
|
||||
<selection>String var = "";
|
||||
if (var == null) {
|
||||
return null;
|
||||
}</selection>
|
||||
System.out.println(var);
|
||||
return var;
|
||||
}
|
||||
|
||||
String bar() {
|
||||
String var = "";
|
||||
if (var == null) {
|
||||
return null;
|
||||
}
|
||||
System.out.println(var);
|
||||
return var;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user