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

13 lines
296 B
Java

class OxfordBug {
private int f(int m, int n) throws Exception {
int i = 0;
while (i < n) {
i++;
<selection>if (i == m) {
n += m;
throw new Exception("" + n);
}</selection>
}
return n;
}
}