From c329ed83efe58d0d2bc5876c5972e45198da242f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Wed, 22 Nov 2023 11:10:32 +0100 Subject: [PATCH] Polish InvocableHandlerMethodKotlinTests --- .../web/reactive/result/InvocableHandlerMethodKotlinTests.kt | 4 ---- 1 file changed, 4 deletions(-) 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