mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 15:06:56 +07:00
(no message)
This commit is contained in:
@@ -110,7 +110,7 @@ public class InitializationUtils {
|
||||
|
||||
private static boolean tryStatementMustAssignVariable(PsiVariable field, PsiTryStatement tryStatement, Set checkedMethods) {
|
||||
final PsiCodeBlock[] catchBlocks = tryStatement.getCatchBlocks();
|
||||
if (catchBlocks == null || catchBlocks.length == 0) {
|
||||
if (catchBlocks.length == 0) {
|
||||
final PsiCodeBlock tryBlock = tryStatement.getTryBlock();
|
||||
if (cachingblockMustAssignVariable(field, tryBlock, checkedMethods)) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user