Skip to content

Commit

Permalink
Polish InvocableHandlerMethodKotlinTests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Nov 22, 2023
1 parent 48f3c08 commit c329ed8
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -235,7 +233,6 @@ class InvocableHandlerMethodKotlinTests {
}
}

@RestController
class DefaultValueController {

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

@Suppress("RedundantSuspendModifier")
suspend fun handleSuspending(@RequestParam value: String = "default") = value

}
}

0 comments on commit c329ed8

Please sign in to comment.