Skip to content

Commit c329ed8

Browse files
committed
Polish InvocableHandlerMethodKotlinTests
1 parent 48f3c08 commit c329ed8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

spring-webflux/src/test/kotlin/org/springframework/web/reactive/result/InvocableHandlerMethodKotlinTests.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ import org.junit.jupiter.api.Test
2424
import org.springframework.core.ReactiveAdapterRegistry
2525
import org.springframework.http.HttpStatus
2626
import org.springframework.http.server.reactive.ServerHttpResponse
27-
import org.springframework.web.bind.annotation.RequestMapping
2827
import org.springframework.web.bind.annotation.RequestParam
2928
import org.springframework.web.bind.annotation.ResponseStatus
30-
import org.springframework.web.bind.annotation.RestController
3129
import org.springframework.web.reactive.BindingContext
3230
import org.springframework.web.reactive.HandlerResult
3331
import org.springframework.web.reactive.result.method.HandlerMethodArgumentResolver
@@ -235,7 +233,6 @@ class InvocableHandlerMethodKotlinTests {
235233
}
236234
}
237235

238-
@RestController
239236
class DefaultValueController {
240237

241238
fun handle(@RequestParam value: String = "default") = value
@@ -244,6 +241,5 @@ class InvocableHandlerMethodKotlinTests {
244241

245242
@Suppress("RedundantSuspendModifier")
246243
suspend fun handleSuspending(@RequestParam value: String = "default") = value
247-
248244
}
249245
}

0 commit comments

Comments
 (0)