Polishing
This commit is contained in:
@@ -35,7 +35,6 @@ import reactor.core.publisher.Mono
|
||||
* @author Sebastien Deleuze
|
||||
* @since 5.0
|
||||
*/
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
inline fun <reified T : Any, S : Publisher<T>> RequestBodySpec.body(publisher: S): RequestHeadersSpec<*> =
|
||||
body(publisher, object : ParameterizedTypeReference<T>() {})
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@ import reactor.core.publisher.Mono
|
||||
* @author Sebastien Deleuze
|
||||
* @since 5.0
|
||||
*/
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
inline fun <reified T : Any> ServerResponse.BodyBuilder.body(publisher: Publisher<T>): Mono<ServerResponse> =
|
||||
body(publisher, object : ParameterizedTypeReference<T>() {})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user