mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
simple_language_plugin: SimpleReferenceContributor cleanup
This commit is contained in:
parent
87ee6b5c8d
commit
1793463daf
@ -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