simple_language_plugin: SimpleReferenceContributor cleanup

This commit is contained in:
Yann Cébron 2015-12-09 20:27:56 +01:00
parent 87ee6b5c8d
commit 1793463daf

View File

@ -19,7 +19,7 @@ public class SimpleReferenceContributor extends PsiReferenceContributor {
if (value != null && value.startsWith("simple"+":")) {
return new PsiReference[]{new SimpleReference(element, new TextRange(8, value.length() + 1))};
}
return new PsiReference[0];
return PsiReference.EMPTY_ARRAY;
}
});
}