Files
openide/java/java-tests/testData/refactoring/extractMethod/ExitPoints7.java
Dmitry Jemerov b7e66aee44 test++
2009-09-10 20:21:16 +04:00

27 lines
424 B
Java

class Foo {
public Object createBean(Object parent) {
try {
<selection>if (parent != null) {
try {
}
catch (Exception e) {
return null;
}
}
Object tag = null;</selection>
tag = foo(tag);
}
catch (Exception e) {
throw new RuntimeException(e);
}
return null;
}
private Object foo(final Object tag) {
return null;
}
}