Files
openide/java/java-tests/testData/refactoring/inlineMethod/TrySynchronized.java.after
Dmitry Jemerov b43c03ca2f moving tests
2009-09-10 19:49:38 +04:00

17 lines
321 B
Plaintext

public class Try {
public int test() {
int result;
synchronized (this) {
try {
result = Integer.parseInt("1");
}
catch (NumberFormatException ex) {
throw ex;
}
}
int i = result;
return i;
}
}