mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
21 lines
312 B
Java
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 {
|
|
}
|
|
}
|