mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-66686 (wrong lookup method used)
Distinction in PsiTreeUtil's get/find methods documented
This commit is contained in:
@@ -94,7 +94,7 @@ public class PsiTryStatementImpl extends CompositePsiElement implements PsiTrySt
|
||||
|
||||
@Override
|
||||
public PsiResourceList getResourceList() {
|
||||
return PsiTreeUtil.findChildOfType(this, PsiResourceList.class);
|
||||
return PsiTreeUtil.getChildOfType(this, PsiResourceList.class);
|
||||
}
|
||||
|
||||
public ASTNode findChildByRole(int role) {
|
||||
|
||||
Reference in New Issue
Block a user