mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-39147 - NPE: BaseExternalAnnotationsManager.compare
This commit is contained in:
@@ -258,6 +258,7 @@ public abstract class BaseExternalAnnotationsManager extends ExternalAnnotations
|
||||
final VirtualFile ext = root.findFileByRelativePath(packageName.replace(".", "/") + "/" + ANNOTATIONS_XML);
|
||||
if (ext == null) continue;
|
||||
final PsiFile psiFile = myPsiManager.findFile(ext);
|
||||
if (psiFile == null) continue;
|
||||
possibleAnnotationsXmls.add(psiFile);
|
||||
}
|
||||
if (!possibleAnnotationsXmls.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user