mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Test fix (nullability fixed)
This commit is contained in:
@@ -188,11 +188,13 @@ public abstract class PyTestCase extends UsefulTestCase {
|
||||
return ourPyDescriptor;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
protected PsiReference findReferenceBySignature(final String signature) {
|
||||
int pos = findPosBySignature(signature);
|
||||
return findReferenceAt(pos);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
protected PsiReference findReferenceAt(int pos) {
|
||||
return myFixture.getFile().findReferenceAt(pos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user