Update to Reactor Aluminium SNAPSHOT
Currently the BOM versions are: * reactor-core 3.0.6.BUILD-SNAPSHOT * reactor-netty 0.6.2.BUILD-SNAPSHOT This commit fixes as well a few deprecations in reactor-core.
This commit is contained in:
@@ -187,7 +187,7 @@ public class ExchangeResult {
|
||||
|
||||
private String formatBody(MediaType contentType, MonoProcessor<byte[]> body) {
|
||||
if (body.isSuccess()) {
|
||||
byte[] bytes = body.blockMillis(0);
|
||||
byte[] bytes = body.block(Duration.ZERO);
|
||||
if (bytes.length == 0) {
|
||||
return "No content";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user