We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f39d335 commit 439981fCopy full SHA for 439981f
src/main/kotlin/org/digma/intellij/plugin/ui/navigation/CodeButtonContextService.kt
@@ -148,7 +148,7 @@ class CodeButtonContextService(private val project: Project) : Disposable {
148
149
private fun getFocusedEndpoint(methodUnderCaret: MethodUnderCaret, methodInfo: MethodInfo): EndpointInfo? {
150
return methodInfo.endpoints.firstOrNull { endpointInfo: EndpointInfo ->
151
- endpointInfo.textRange?.contains(methodUnderCaret.caretOffset) ?: false &&
+ endpointInfo.textRange.contains(methodUnderCaret.caretOffset) &&
152
endpointInfo.framework == EndpointFramework.Ktor
153
}
154
0 commit comments