Browse Source

formatting

pull/2918/head
spencergibb 2 years ago
parent
commit
9575a3496e
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 3
      spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/rewrite/CachedBodyOutputMessage.java

3
spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/rewrite/CachedBodyOutputMessage.java

@ -77,7 +77,8 @@ public class CachedBodyOutputMessage implements ReactiveHttpOutputMessage { @@ -77,7 +77,8 @@ public class CachedBodyOutputMessage implements ReactiveHttpOutputMessage {
*/
public Flux<DataBuffer> getBody() {
if (body == null) {
return Flux.error(new IllegalStateException("The body is not set. " + "Did handling complete with success?"));
return Flux
.error(new IllegalStateException("The body is not set. " + "Did handling complete with success?"));
}
return this.body;
}

Loading…
Cancel
Save