Browse Source

Merge branch '6.1.x'

pull/33181/head
Stéphane Nicoll 1 year ago
parent
commit
b7ec028149
  1. 2
      framework-docs/modules/ROOT/partials/web/web-uris.adoc
  2. 2
      spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java

2
framework-docs/modules/ROOT/partials/web/web-uris.adoc

@ -389,7 +389,7 @@ template. @@ -389,7 +389,7 @@ template.
encode URI component value _after_ URI variables are expanded.
* `NONE`: No encoding is applied.
The `RestTemplate` is set to `EncodingMode.URI_COMPONENT` for historic
The `RestTemplate` is set to `EncodingMode.URI_COMPONENT` for historical
reasons and for backwards compatibility. The `WebClient` relies on the default value
in `DefaultUriBuilderFactory`, which was changed from `EncodingMode.URI_COMPONENT` in
5.0.x to `EncodingMode.TEMPLATE_AND_VALUES` in 5.1.

2
spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java

@ -76,7 +76,7 @@ public abstract class AbstractNamedValueMethodArgumentResolver implements Handle @@ -76,7 +76,7 @@ public abstract class AbstractNamedValueMethodArgumentResolver implements Handle
protected AbstractNamedValueMethodArgumentResolver(ConversionService conversionService,
@Nullable ConfigurableBeanFactory beanFactory) {
// Fallback on shared ConversionService for now for historic reasons.
// Fallback on shared ConversionService for now for historical reasons.
// Possibly remove after discussion in gh-23882.
//noinspection ConstantConditions

Loading…
Cancel
Save