Polish InvocableHandlerMethodKotlinTests

This commit is contained in:
Sébastien Deleuze 2023-11-22 11:10:32 +01:00
parent 48f3c08395
commit c329ed83ef
1 changed files with 0 additions and 4 deletions

View File

@ -24,10 +24,8 @@ import org.junit.jupiter.api.Test
import org.springframework.core.ReactiveAdapterRegistry
import org.springframework.http.HttpStatus
import org.springframework.http.server.reactive.ServerHttpResponse
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RequestParam
import org.springframework.web.bind.annotation.ResponseStatus
import org.springframework.web.bind.annotation.RestController
import org.springframework.web.reactive.BindingContext
import org.springframework.web.reactive.HandlerResult
import org.springframework.web.reactive.result.method.HandlerMethodArgumentResolver
@ -235,7 +233,6 @@ class InvocableHandlerMethodKotlinTests {
}
}
@RestController
class DefaultValueController {
fun handle(@RequestParam value: String = "default") = value
@ -244,6 +241,5 @@ class InvocableHandlerMethodKotlinTests {
@Suppress("RedundantSuspendModifier")
suspend fun handleSuspending(@RequestParam value: String = "default") = value
}
}