Skip to content

Commit f6a82f8

Browse files
committed
refactor
Former-commit-id: 5b4e6a9
1 parent 918dfe7 commit f6a82f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

marker/jvm-marker/src/main/kotlin/spp/jetbrains/marker/jvm/psi/endpoint/SpringMVCEndpoint.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class SpringMVCEndpoint : EndpointDetector.EndpointNameDeterminer {
190190

191191
val methodExpr = annotation.attributeValues.find { it.name == "method" }!!.expression
192192
var value = if (endpointNameExpr is KotlinUCollectionLiteralExpression) {
193-
endpointNameExpr!!.valueArguments[0].evaluate()
193+
endpointNameExpr.valueArguments[0].evaluate()
194194
} else {
195195
endpointNameExpr?.evaluate() ?: ""
196196
}

0 commit comments

Comments
 (0)