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 918dfe7 commit f6a82f8Copy full SHA for f6a82f8
marker/jvm-marker/src/main/kotlin/spp/jetbrains/marker/jvm/psi/endpoint/SpringMVCEndpoint.kt
@@ -190,7 +190,7 @@ class SpringMVCEndpoint : EndpointDetector.EndpointNameDeterminer {
190
191
val methodExpr = annotation.attributeValues.find { it.name == "method" }!!.expression
192
var value = if (endpointNameExpr is KotlinUCollectionLiteralExpression) {
193
- endpointNameExpr!!.valueArguments[0].evaluate()
+ endpointNameExpr.valueArguments[0].evaluate()
194
} else {
195
endpointNameExpr?.evaluate() ?: ""
196
}
0 commit comments