formatting

This commit is contained in:
Spencer Gibb
2019-12-18 23:30:33 -05:00
parent bc8f8f0bf9
commit 7aa2bc879c

View File

@@ -123,15 +123,12 @@ public class DefaultClientResponse implements ClientResponse {
@Override
public Mono<Void> releaseBody() {
return body(BodyExtractors.toDataBuffers())
.map(DataBufferUtils::release)
.then();
return body(BodyExtractors.toDataBuffers()).map(DataBufferUtils::release).then();
}
@Override
public Mono<ResponseEntity<Void>> toBodilessEntity() {
return releaseBody()
.then(toEntityInternal(Mono.empty()));
return releaseBody().then(toEntityInternal(Mono.empty()));
}
@Override