mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[perf_tests]Fixed goToElement method
GitOrigin-RevId: 0f5a14b8785119842e420a842820d6f79b6dcb77
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d712de56bf
commit
76c0874bec
@@ -55,7 +55,7 @@ class FindUsagesCommand(text: String, line: Int) : PerformanceCommandCoroutineAd
|
||||
}
|
||||
}
|
||||
|
||||
fun goToElement(position: String?, elementName: String, context: PlaybackContext) {
|
||||
fun goToElement(position: String?, elementName: String?, context: PlaybackContext) {
|
||||
if (position != null) {
|
||||
val result = GoToNamedElementCommand(GoToNamedElementCommand.PREFIX + " $position $elementName", -1).execute(context)
|
||||
result.exceptionally { e ->
|
||||
|
||||
Reference in New Issue
Block a user