mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix NPE
This commit is contained in:
@@ -117,7 +117,7 @@ public abstract class WebReferencesAnnotatorBase extends ExternalAnnotator<WebRe
|
||||
|
||||
@Override
|
||||
public void apply(@NotNull PsiFile file, MyInfo[] infos, @NotNull AnnotationHolder holder) {
|
||||
if (infos.length == 0) {
|
||||
if (infos == null || infos.length == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user