mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
Fixes EA-131551 - NPE: EnsureCodeBlockImpl.splitIf We need to avoid custom logic for processing && chains, etc. in RefactoringUtil#ensureCodeBlock.
13 lines
244 B
Java
13 lines
244 B
Java
// "Surround with try/catch" "true"
|
|
class C {
|
|
native boolean foo() throws Exception;
|
|
|
|
void test() {
|
|
try {
|
|
if(foo() && foo())
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
|
|
} |