diff --git a/spring-webflux/src/test/kotlin/org/springframework/web/reactive/result/InvocableHandlerMethodKotlinTests.kt b/spring-webflux/src/test/kotlin/org/springframework/web/reactive/result/InvocableHandlerMethodKotlinTests.kt index ffd88d3f7cd9..e7a1fe5a9b9a 100644 --- a/spring-webflux/src/test/kotlin/org/springframework/web/reactive/result/InvocableHandlerMethodKotlinTests.kt +++ b/spring-webflux/src/test/kotlin/org/springframework/web/reactive/result/InvocableHandlerMethodKotlinTests.kt @@ -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 - } } \ No newline at end of file