Merge pull request #33166 from hunhee98

* pr/33166:
  Polish contribution
  Harmonize phrasing in URI Encoding section

Closes gh-33166
This commit is contained in:
Stéphane Nicoll
2024-07-08 16:51:51 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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