mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
simple_language_plugin: SimpleReferenceContributor cleanup
This commit is contained in:
parent
115bfbfb6c
commit
51adeed1ac
@ -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;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user