Files
openide/java/java-tests/testData/refactoring/extractMethod/ParamDetection.java
2012-11-05 15:24:37 +01:00

21 lines
312 B
Java

import java.util.*;
class Test {
public void foo() {
<selection>List trades;
try {
trades = getTrades();
}
catch (RemoteException e) {
}
</selection>
//probably not assigned !!!
if (trades.isEmpty()) {
}
}
static class RemoteException extends Exception {
}
}