Skip to content

Commit df45c80

Browse files
committed
Merge branch '5.3.x'
2 parents 8eb660b + cda1e55 commit df45c80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultWebClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -68,7 +68,7 @@ class DefaultWebClient implements WebClient {
6868
private static final String URI_TEMPLATE_ATTRIBUTE = WebClient.class.getName() + ".uriTemplate";
6969

7070
private static final Mono<ClientResponse> NO_HTTP_CLIENT_RESPONSE_ERROR = Mono.error(
71-
new IllegalStateException("The underlying HTTP client completed without emitting a response."));
71+
() -> new IllegalStateException("The underlying HTTP client completed without emitting a response."));
7272

7373

7474
private final ExchangeFunction exchangeFunction;

spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFilterFunctions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static ExchangeFilterFunction limitResponseSize(long maxByteCount) {
6868
* Return a filter that generates an error signal when the given
6969
* {@link HttpStatusCode} predicate matches.
7070
* @param statusPredicate the predicate to check the HTTP status with
71-
* @param exceptionFunction the function that to create the exception
71+
* @param exceptionFunction the function to create the exception
7272
* @return the filter to generate an error signal
7373
*/
7474
public static ExchangeFilterFunction statusError(Predicate<HttpStatusCode> statusPredicate,

0 commit comments

Comments
 (0)